I would like to announce what I think is the first XML application using Links - XMLinks
I have changed the What's New page to a RSS (Rich Site Summary) file, i.e. a RDF/XML file, see: http://www.statskontoret.se/...erna/senaste/rss.xml (will show in MSIE5, but due to my use of Swedish characters, it might not show; look at the source to see the XML)
You can also see it via XMLTree, a XML repository:
http://www.xmltree.com/.../L/3/ResourceID/3946
where you can subscribe to it on several portals or as a HTML-newsletter. Also there, you can (on Tester) get a HTMLified output of the XML source).
How did I do this? Well, I have played with the sub build_new_page in nph_build.cgi, added a new sub to site_html_templates.pl, and XMLified the new.html template. Oh, and created a new template for the RSS/XML links, to which I refer in the modded sub. Laziness also made me turn off spanning pages (will fix that, solution for that is in Eliot and/or Bobsie thread somewhere here...)
I have described these changes in detail at:
http://www.gotzespace.dk/...linksmod/xmlinks.txt
It works. Well, sort of. It creates the RSS-file, but I am having problems with the sorting. In general in this installation of Links, I sort by ID only, and the RSS items should also do this. This is where I need help! - since this is independent of all the XML-stuff, I beg you perl-wizards for assistance -- formulated as a general mod question: How do I get the What's New pages to sort independetly of categories, and only by ID??
(For more information about (that is, links to resources) RSS and XML, see http://www.links.gotzespace.dk
-> XML -> Syndication)
Cheers
John
I have changed the What's New page to a RSS (Rich Site Summary) file, i.e. a RDF/XML file, see: http://www.statskontoret.se/...erna/senaste/rss.xml (will show in MSIE5, but due to my use of Swedish characters, it might not show; look at the source to see the XML)
You can also see it via XMLTree, a XML repository:
http://www.xmltree.com/.../L/3/ResourceID/3946
where you can subscribe to it on several portals or as a HTML-newsletter. Also there, you can (on Tester) get a HTMLified output of the XML source).
How did I do this? Well, I have played with the sub build_new_page in nph_build.cgi, added a new sub to site_html_templates.pl, and XMLified the new.html template. Oh, and created a new template for the RSS/XML links, to which I refer in the modded sub. Laziness also made me turn off spanning pages (will fix that, solution for that is in Eliot and/or Bobsie thread somewhere here...)
I have described these changes in detail at:
http://www.gotzespace.dk/...linksmod/xmlinks.txt
It works. Well, sort of. It creates the RSS-file, but I am having problems with the sorting. In general in this installation of Links, I sort by ID only, and the RSS items should also do this. This is where I need help! - since this is independent of all the XML-stuff, I beg you perl-wizards for assistance -- formulated as a general mod question: How do I get the What's New pages to sort independetly of categories, and only by ID??
(For more information about (that is, links to resources) RSS and XML, see http://www.links.gotzespace.dk
-> XML -> Syndication)
Cheers
John