[Radiant] How exactly is this RSS feed thing supposed to work?

1 view
Skip to first unread message

NT

unread,
Jul 8, 2009, 10:54:29 PM7/8/09
to rad...@radiantcms.org
I have modified the default RSS Feed page to snag content from the from
the children of the "Tanji's Tanjents" page (it's a blog), and the feed
name is pulled from the feed properly, but I never get any content from
the feed. I have no idea what is going wrong. The XML layout is the same
as always, and this is what I have on the RSS Feed page:

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Tanji's Tanjents</title>
<link>http://goodtastewithtanji.com<r:url /></link>
<language>en-us</language>
<ttl>40</ttl>
<description>Wine, food and fun with Tanji Patton.</description>
<r:find url="^/tanjis-tanjents">
<r:children:each limit="10" order="desc">
<item>
<title><r:title /></title>
<description><r:escape_html><r:content
/></r:escape_html></description>
<pubDate><r:rfc1123_date /></pubDate>
<guid>http://goodtastewithtanji.com<r:url /></guid>
<link>http://goodtastewithtanji.com<r:url /></link>
</item>
</r:children:each>
</r:find>
</channel>
</rss>

Does anything jump out as being incorrect to anybody? I have gone
cross-eyed staring down this content on the screen.


~N
_______________________________________________
Radiant mailing list
Post: Rad...@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant

Sean Cribbs

unread,
Jul 8, 2009, 11:36:06 PM7/8/09
to rad...@radiantcms.org
<r:find> takes an actual URL path, not a regex. Remove the "^" from the
front of the url attribute.

Sean

NT

unread,
Jul 8, 2009, 11:44:20 PM7/8/09
to rad...@radiantcms.org
Sean Cribbs wrote:
> <r:find> takes an actual URL path, not a regex. Remove the "^" from
> the front of the url attribute.

I've tried '^/tanjis-tanjents', '/tanjis-tanjents/' and
'/tanjis-tanjents'. Feed readers see that there is a feed, but no
articles show up. I just don't understand why this isn't working. My
page content is almost exactly the same as the example on the default
setup, but the articles are not there.

~Nate

Sean Cribbs

unread,
Jul 9, 2009, 8:48:14 AM7/9/09
to rad...@radiantcms.org
Where can we find this feed? It might help to look at the actual pages.

Sean

Nate

unread,
Jul 9, 2009, 9:08:01 AM7/9/09
to rad...@radiantcms.org

Jim Gay

unread,
Jul 9, 2009, 9:18:51 AM7/9/09
to rad...@radiantcms.org
You have a parsing error:
http://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fgoodtastewithtanji.com%2Frss%2F
This feed does not validate.
*line 25, column 37: XML parsing error: <unknown>:25:37: not well-
formed (invalid token)

Viewing the source of the feed shows that everything is there, so it's
possible that this error is doing it.

Sean Cribbs

unread,
Jul 9, 2009, 9:26:39 AM7/9/09
to rad...@radiantcms.org
This is what I get when I download your RSS using curl:

http://pastie.org/539977

You might also want to look at this:

http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fgoodtastewithtanji.com%2Frss%2F

From what I can tell, your feed looks fine except for the unescaped
ampersands.

Sean

Nate wrote:
> http://goodtastewithtanji.com/tanjis-tanjents
>
> Thank,
> Nate
>
>
> On Jul 9, 2009, at 7:48 AM, Sean Cribbs <seanc...@gmail.com> wrote:
>
>> Where can we find this feed? It might help to look at the actual pages.
>>
>> Sean
>>
>> NT wrote:
>>> Sean Cribbs wrote:
>>>> <r:find> takes an actual URL path, not a regex. Remove the "^"
>>>> from the front of the url attribute.
>>>
>>> I've tried '^/tanjis-tanjents', '/tanjis-tanjents/' and

>>> '/tanjis-tanjents'. Feed readers see that there is a feed, but no

NT

unread,
Jul 9, 2009, 10:06:41 AM7/9/09
to rad...@radiantcms.org
Jim Gay wrote:
> You have a parsing error:
> http://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fgoodtastewithtanji.com%2Frss%2F
>
> This feed does not validate.
> *line 25, column 37: XML parsing error: <unknown>:25:37: not
> well-formed (invalid token)

>
> Viewing the source of the feed shows that everything is there, so it's
> possible that this error is doing it.

Thanks, Jim. I had never thought about the validators on the w3c site.
It was that ampersand. I wrapped the title with <r:escape_html> tags and
it worked!

NT

unread,
Jul 9, 2009, 10:07:37 AM7/9/09
to rad...@radiantcms.org
Sean Cribbs wrote:
> This is what I get when I download your RSS using curl:
>
> http://pastie.org/539977
I never thought about using curl. I'll have to remember that one.

>
> You might also want to look at this:
>
> http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fgoodtastewithtanji.com%2Frss%2F
>
>
> From what I can tell, your feed looks fine except for the unescaped
> ampersands.

It turns out that that is exactly what it was. Thanks again.

Reply all
Reply to author
Forward
0 new messages