אונטערשייד צווישן ווערסיעס פון "מעדיעוויקי:Common.js/externalsmaker.js"

אפדעיט
(צופאסונג)
(אפדעיט)
שורה 562: שורה 562:
{ telem: ".author-bar li:eq(1), .h3_date, div.art__info time", date: '.' },
{ telem: ".author-bar li:eq(1), .h3_date, div.art__info time", date: '.' },
{ telem: ".inner_bar", date:'/'},
{ telem: ".inner_bar", date:'/'},
{ telem: 'time', remove: [ /\d\d\:\d\d\, / ], removeDatePadding: true }
{ telem: 'time', remove: [ /\d\d\:\d\d\, /, /.*• / ], removeDatePadding: true }
],
],
{ url: 1, match: /\/\/(.*?).themarker/i, defvalue: "www" }
{ url: 1, match: /\/\/(.*?).themarker/i, defvalue: "www" }
שורה 906: שורה 906:
{ var: 'canonical_url', match: /newspapers\/\w+\/(\d+\/\d+\/\d+)\//, remove: '///'},
{ var: 'canonical_url', match: /newspapers\/\w+\/(\d+\/\d+\/\d+)\//, remove: '///'},
{ var: 'canonical_url', match: /article\/(\d+\.?\d*)(\/|$)/ }
{ var: 'canonical_url', match: /article\/(\d+\.?\d*)(\/|$)/ }
]
},
{
hostname: "blog.nli.org.il",
params: [
{ str: 'הספרנים' },
{ var: ['nliLayersActiveItem', 'data_order'], func: function(itemid) { return document.querySelector('.article-items  > article:nth-of-type(' + itemid + ') .entry-meta span:nth-of-type(1)').textContent; } },
{ var: ['nliLayersActiveItem', 'data_order'], func: function(itemid) { return document.querySelector('.article-items  > article:nth-of-type(' + itemid + ') .entry-title').textContent; } },
{ var: ['nliLayersActiveItem', 'data_url'], remove: [ /^\//, /\/$/ ] },
{ var: ['nliLayersActiveItem', 'data_order'], func: function(itemid) { return document.querySelector('.article-items  > article:nth-of-type(' + itemid + ') .entry-meta span:nth-of-type(2)').textContent; }, date: '.' }
]
]
},
},