[Hypercontent-users] RSS output
Brought to you by:
alexvigdor
From: Carl B. <C.P...@hu...> - 2005-10-05 13:33:32
|
Hi Alex I'm sure my questions seem never ending !! I have created a dtd that allows the user to create an xml file for an RSS feed. it outputs an xml file http://www.hull.ac.uk/esig/cree/rss/test.xml which validates as an rss feed but it doesn't actually work with any rss readers. Am I missing something? My DTD is as follows : <!ELEMENT rss (channel)> <!ATTLIST rss version CDATA #REQUIRED> <!ELEMENT channel (title | link | description | language | item+ | rating? | image? | textinput? | copyright? | pubDate? | lastBuildDate? | docs? | managingEditor? | webMaster? | skipHours? | skipDays?)*> <!ELEMENT title (#PCDATA)> <!ELEMENT link (#PCDATA)> <!ELEMENT description (#PCDATA)> <!ELEMENT image (title | url | link | width? | height? | description?)*> <!ELEMENT url (#PCDATA)> <!ELEMENT item (title | description | link)*> <!ELEMENT textinput (title | description | name | link)*> <!ELEMENT name (#PCDATA)> <!ELEMENT rating (#PCDATA)> <!ELEMENT language (#PCDATA)> <!ELEMENT width (#PCDATA)> <!ELEMENT height (#PCDATA)> <!ELEMENT copyright (#PCDATA)> <!ELEMENT pubDate (#PCDATA)> <!ELEMENT lastBuildDate (#PCDATA)> <!ELEMENT docs (#PCDATA)> <!ELEMENT managingEditor (#PCDATA)> <!ELEMENT webMaster (#PCDATA)> <!ELEMENT hour (#PCDATA)> <!ELEMENT day (#PCDATA)> <!ELEMENT skipHours (hour+)> <!ELEMENT skipDays (day+)> and then in my site definition: <xml-doctype definition="/dtd/rss.dtd" label="Create an RSS feed" path="/rss/*" root="rss"> <output basedir="/" content-type="text/xml"/> </xml-doctype> -- ************************************ Carl Barrow Systems Integrator e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |