CSS: Ad support for element category;

XSLT: Add a reference to script postprocess.js to file opml_as_xhtml.xsl;
XSLT: Add support for element category;
Python: Add support for element category.
This commit is contained in:
Schimon Jehudah, Adv. 2024-07-14 12:35:59 +03:00
parent cb4507bb78
commit 8ab7396a36
6 changed files with 46 additions and 21 deletions

View file

@ -81,7 +81,7 @@ window.onload = async function(){
}
// Build a journal list
if (node) {
if (locationHref.pathname.startsWith('/atom') && node) {
itemsList = await openJson(node)
if (itemsList && locationHref.searchParams.get('item')) {
node = locationHref.searchParams.get('node')
@ -135,7 +135,7 @@ window.onload = async function(){
// Convert URI xmpp: to URI http: links.
for (let xmppLink of document.querySelectorAll(
'#articles > ul > li > div > h3 > a[href^="xmpp:"],' +
'#articles h3 > a[href^="xmpp:"][id^="rivista-"],' +
'#journal > ol > li > a[href^="xmpp:"]')) {
xmppUri = new URL(xmppLink);
let parameters = xmppUri.search.split(';');