בדוקי עריכות אוטומטית, אינטערפעיס רעדאקטארן, אינטערפעיס אדמיניסטראַטאָרן, סיסאפן, מייבאים, מעדכנים, מייבא, אספקלריה רעדאקטארן
46,362
רעדאגירונגען
(אפדעיט) |
(אפדעיט) |
||
| שורה 138: | שורה 138: | ||
[ | [ | ||
{ telem: '.art_header_title' }, | { telem: '.art_header_title' }, | ||
{ attr: ["meta[property='og:title']", "content"] }, | { attr: ["meta[property='og:title']", "content"], remove: [/ - אוכל - ynet.*/] }, | ||
{ elem: 'head>title', match: /(?:ynet\s*-?)?([^\-]*)/ }, | { elem: 'head>title', match: /(?:ynet\s*-?)?([^\-]*)/ }, | ||
{ telem: 'h1' }, | { telem: 'h1' }, | ||
| שורה 147: | שורה 147: | ||
{ url: 1, match: /co\.il\/(.*)/, remove: ['#autoplay'] } ], | { url: 1, match: /co\.il\/(.*)/, remove: ['#autoplay'] } ], | ||
[ | [ | ||
{ url: 1, match: /co\.il\/((?:ency)\/.*?html?)/, prefix: "תאריך=", func: function(s) { return s ? 'ללא' : ''; }}, | |||
{ elem: 'td:has(h1:first) .text12g:last', date: '.' }, | { elem: 'td:has(h1:first) .text12g:last', date: '.' }, | ||
{ elem: ".text12g + .text12g", date: '.' }, | { elem: ".text12g + .text12g", date: '.' }, | ||
| שורה 173: | שורה 174: | ||
{ str: 'וואלה' }, | { str: 'וואלה' }, | ||
[ | [ | ||
{ telem: 'div.writers-names' }, | { telem: 'div.writers-names', remove: [/מערכת וואלה[א-ת ]+/] }, | ||
{ telem: 'div.author' }, | { telem: 'div.author' }, | ||
{ telem: '.info .author:first, .provider', match: /^([^\|]*)/ }, | { telem: '.info .author:first, .provider', match: /^([^\|]*)/ }, | ||
{ telem: 'div.wp-0-b:first span:first', match: /מאת:(.*),/ }, | { telem: 'div.wp-0-b:first span:first', match: /מאת:(.*),/ }, | ||
{ telem: '.author > div', match: /^([^\|]*)/, remove: [ | { telem: '.author > div', match: /^([^\|]*)/, remove: [/מערכת וואלה[א-ת ]+/] } | ||
], | ], | ||
{ attr: ["meta[property='og:title']", "content"], remove: [ / - וואלה!?.*/ ] }, | { attr: ["meta[property='og:title']", "content"], remove: [ / - וואלה!?.*/ ] }, | ||
| שורה 202: | שורה 203: | ||
{ telem: 'address > a' }, | { telem: 'address > a' }, | ||
{ attr: ["meta[name='author']", "content"] }, | { attr: ["meta[name='author']", "content"] }, | ||
{ telem: 'main > div > section > div > div > a' }, | |||
{ telem: 'address' } ], | { telem: 'address' } ], | ||
[ | [ | ||
| שורה 240: | שורה 242: | ||
{ attr: ["meta[property='og:title']", "content"] } | { attr: ["meta[property='og:title']", "content"] } | ||
], | ], | ||
[ | [ | ||
{ url: 1, match: /org\.il\/(.*p-\d{4,}.*)/ }, | |||
{ url: 1, match: /(\d+)/ } | |||
], [ | |||
{ telem: '.story_autor_date' }, | { telem: '.story_autor_date' }, | ||
{ telem: '.player_time', date: '.' }, | { telem: '.player_time', date: '.' }, | ||
| שורה 548: | שורה 552: | ||
], | ], | ||
[ { var: ['articlePage', 'name'] }, | [ { var: ['articlePage', 'name'] }, | ||
{ telem: "header > h1" }, | |||
{ telem: "header > div > h1" }, | |||
{ attr: ['meta[property="og:title"]', 'content'] }, | { attr: ['meta[property="og:title"]', 'content'] }, | ||
{ telem: "h1.h-mb--xxtight, h1.mainTitle" }, | { telem: "h1.h-mb--xxtight, h1.mainTitle" }, | ||
| שורה 568: | שורה 574: | ||
[ | [ | ||
{ telem: ".shahor.art-author" }, | { telem: ".shahor.art-author" }, | ||
{ telem: ".calcalistArticleHeader_footer .authors" } | { telem: ".calcalistArticleHeader_footer .authors" }, | ||
{ telem: "span.authorArticle" } | |||
], | ], | ||
{ telem: "h1" }, | { telem: "h1" }, | ||
| שורה 577: | שורה 585: | ||
[ | [ | ||
{ telem: ".art-publish-date.afor > .l-date:last", date: '.' }, | { telem: ".art-publish-date.afor > .l-date:last", date: '.' }, | ||
{ telem: ".calcalistArticleHeader_footer .date", date: '.'} | { telem: ".calcalistArticleHeader_footer .date", date: '.'}, | ||
{ telem: "span.art-publish-date", date: '.'} | |||
] | ] | ||
] | ] | ||
| שורה 833: | שורה 843: | ||
'ajns': 'עיתונות|ajns', | 'ajns': 'עיתונות|ajns', | ||
'ashnav': 'אשנב', | 'ashnav': 'אשנב', | ||
'baderech': 'עיתונות|baderech', | |||
'bamar': 'במערכה', | 'bamar': 'במערכה', | ||
'dav': 'דבר', | 'dav': 'דבר', | ||
| שורה 840: | שורה 851: | ||
'emda': 'עמדה', | 'emda': 'עמדה', | ||
'eretzh': 'עיתונות|eretzh', | 'eretzh': 'עיתונות|eretzh', | ||
'etger': 'עיתונות|etger', | |||
'frw': 'פארווערטס', | 'frw': 'פארווערטס', | ||
'haa': 'המאסף', | 'haa': 'המאסף', | ||
| שורה 852: | שורה 864: | ||
'has': 'השומר הצעיר ורשה', | 'has': 'השומר הצעיר ורשה', | ||
'haschiloah': 'השילוח1', | 'haschiloah': 'השילוח1', | ||
'haumaisr': 'האומה1', | |||
'hayal': 'לחייל', | 'hayal': 'לחייל', | ||
'hayomisr': 'עיתונות|hayomisr', | 'hayomisr': 'עיתונות|hayomisr', | ||
| שורה 858: | שורה 871: | ||
'hbkr': 'הבקר', | 'hbkr': 'הבקר', | ||
'hcl': 'הכרמל', | 'hcl': 'הכרמל', | ||
'heatid': 'עיתונות|heatid', | |||
'hebrew': 'שרהזאהן', | 'hebrew': 'שרהזאהן', | ||
'hed': 'הד המזרח', | 'hed': 'הד המזרח', | ||
| שורה 891: | שורה 905: | ||
'ltb': 'ליטערארישע בלעטער', | 'ltb': 'ליטערארישע בלעטער', | ||
'mad': 'מחזיקי הדת', | 'mad': 'מחזיקי הדת', | ||
'mahanayim': 'מחניים', | |||
'mar': 'מעריב', | 'mar': 'מעריב', | ||
'mgd': 'המגיד', | 'mgd': 'המגיד', | ||
| שורה 902: | שורה 917: | ||
'yomyom': 'יוםיום', | 'yomyom': 'יוםיום', | ||
'ytlv': 'ידיעות תל אביב', | 'ytlv': 'ידיעות תל אביב', | ||
'zim': 'עיתונות|zim', | |||
'zmanim': 'זמנים' | 'zmanim': 'זמנים' | ||
}[s.toLowerCase()]; } } | }[s.toLowerCase()]; } } | ||
| שורה 1,038: | שורה 1,054: | ||
{ str: 'מעריב אונליין' }, | { str: 'מעריב אונליין' }, | ||
[ | [ | ||
{ ldjson: { key: 'author' } }, | |||
{ telem: 'span.article-reporter a', remove: [ 'מעריב אונליין'] }, | { telem: 'span.article-reporter a', remove: [ 'מעריב אונליין'] }, | ||
{ telem: 'a[rel=Author]' }, | { telem: 'a[rel=Author]' }, | ||
| שורה 1,177: | שורה 1,194: | ||
{ telem: '.g-article-headline'} | { telem: '.g-article-headline'} | ||
], | ], | ||
{ url: 1, match: /www\.davar1\.co\.il\/(\d+)/ }, | { url: 1, match: /www\.davar1\.co\.il(?:\/.*)?\/(\d+)/ }, | ||
[ | [ | ||
{ attr: ['meta[itemprop="dateCreated"]', 'content'], date: '.' }, | { attr: ['meta[itemprop="dateCreated"]', 'content'], date: '.' }, | ||
| שורה 1,548: | שורה 1,565: | ||
} else if (typeof curParam.ldjson != "undefined") { | } else if (typeof curParam.ldjson != "undefined") { | ||
var ldjson = null; | var ldjson = null; | ||
var ldjsons = $('script[type="application/ld+json"]').map(function(i,e) { return JSON.parse($(e).text()); }); | var ldjsons = $('script[type="application/ld+json"]').map(function(i,e) { try { return JSON.parse($(e).text().replace(/[\t\n\r]/g, ' ')); } catch (e) { return false; } }); | ||
if (typeof curParam.ldjson.n != "undefined") { | if (typeof curParam.ldjson.n != "undefined") { | ||
ldjson = ldjsons[curParam.ldjson.n]; | ldjson = ldjsons[curParam.ldjson.n]; | ||
רעדאגירונגען