[Zope] rss compliant blog
Martijn Pieters
mj at zope.com
Thu Oct 30 16:31:53 EST 2003
First of all, please let's keep the list in the loop; they may be of help
too.
On Thu, Oct 30, 2003 at 04:19:50PM -0500, Katie Legere wrote:
> I put my site through, thanks for the link. Unfortunately I get this error:
>
> -----
>
> The XML page cannot be displayed
> Cannot view XML input using XML style sheet. Please correct the error and
> then click the Refresh button, or try again later.
>
>
> ----------------------------------------------------------------------------
> ----
>
> A name contained an invalid character. Line 19, Position 88
>
> <dtml-in expr="objectValues('DTML Document')"
> sort="bobobase_modification_time" reverse>
>
> ----------
This sounds like the template itself, not the processed result is being fed
to the validator. Are you sure you are not pointing to the template source?
> So I'm assuming that the dtml is what's giving me trouble. I *thought* I was
> following the Zope instructions for this though - can I not make a xml / rss
> compliant feed that includes the dtml??
You can make valid RSS output using DTML, if that is what you mean. Do
remember that the DTML tags are instructions to Zope DTML objects to do
something specific there; DTML tags have no meaning to RSS processors, only
the *result* of the tags after DTML processing.
Personally, I use ZPT for XML output; it flows more naturally.
--
Martijn Pieters
| Software Engineer mailto:mj at zope.com
| Zope Corporation http://www.zope.com/
| Creators of Zope http://www.zope.org/
---------------------------------------------
More information about the Zope
mailing list