[Radiant] Combined rss feed and more?
Martin Olsson
martin at smpl.se
Sat Jan 27 07:14:04 CST 2007
Hi Todd,
Thanks for the suggestion. That cold actually be a rather good
solution. I'd have:
smpl.se/things
smpl.se/thoughts
smpl.se/rss <- combined
smpl.se/rss/things
smpl.se/rss/thoughts
Pretty, no?
Sometimes the simplest solution is the nicest one. Thanks!
/Martin
martin at smpl.se
On 27 jan 2007, at 12.57, Todd McGrath wrote:
> Hi,
>
> If I understand correctly, I have a similar need in creating XML
> pages based on
> content for "regular" HTML pages. Here's one idead - how about
> creating
> something like:
>
> smpl.se/
> smpl.se/things
> - archive
> - [posts]
> smpl.se/thoughts
> - archive
> - [posts]
> smpl.se/rss
> - thoughts_rss
> - things_rss
> - rss
>
> In this way, when you can recurse using r:find you'll know if you
> are in the RSS
> or HTML section of the tree. In your rss files, you can pull in
> settings from
> pages (title, url, page parts, etc.). When you update the HTML
> pages, the RSS
> feeds will be automatically updated.
>
> More info on recursion- if I'm reading the source for the find tag
> correctly,
> the url attribute is used in a find_by method. So, in this
> attribute, a
> regular expression that includes some things and not others will
> not be
> available for use.
>
> I'm fairly new too, so maybe/hopefully other people have ideas.
>
> Todd
>
>
> Quoting Martin Olsson <martin at smpl.se>:
>
>> Hello,
>>
>> I'm new to this list, I'm new to Radiant, and I'm new to Ruby on
>> Rails. I am programmer and interface designer and I'm not new to
>> working with a cms - I've even created one of my own that had a very
>> similar philosophy to Radiant, but build in java and templated using
>> XSLT.
>>
>> Now I've decided to create my own personal page using Radiant, and I
>> love how easy it was to set it all up. I have a few peices left
>> before I'm done and I'm wondering if anyone would like to help me
>> out:
>>
>> 1. Should I use Mental? Thanks to Sean Cribbs for the blog post - it
>> cleared up most questions, but not all of them.
>> Will I be able to migrate my data as Mental evolves?
>> What extensions are already released? I want comments and
>> tagging/
>> keywords.
>>
>> 2. I've been tinkering with a hierarchical blog-like structure, like
>> this:
>>
>> smpl.se/
>> - rss
>> smpl.se/things
>> - archive
>> - rss
>> - [posts]
>> smpl.se/thoughts
>> - archive
>> - rss
>> - [posts]
>>
>> I want separate rss-feeds for "things" and "thoughts" - which works
>> perfectly.
>>
>> I also want a combined rss-feed at smpl.se/rss that recurses down and
>> aggregates all the updates.
>>
>> My first approach was to just use the sample code provided in the
>> styled blog and point it to "/" instead of "articles". This doesn't
>> work - I suspect it goes into some kind of loop beacause my server
>> goes all huffy and puffy and has to be restarted.
>>
>> Right now I have glued it together by just hardcoding first "things"
>> then "thoughts", but I would like the combined feed to be
>> chronological instead. I would also like to be able to add new
>> 'categories' without having to update the feed page.
>>
>> Is there some really smart and pretty way to recurse downwards,
>> picking out new pages (but skipping stuff like rss and archives),
>> creating a chornological feed of the latest new pages on the whole
>> site?
>>
>> Radiant is looking really good. It seems _almost_ perfect for
>> smpl.se, and I'm willing to contribute to making it even better and
>> customize it to my needs.
>>
>> Regards,
>> Martin Olsson
>> martin at smpl.se
>>
>>
>> _______________________________________________
>> Radiant mailing list
>> Post: Radiant at lists.radiantcms.org
>> Search: http://radiantcms.org/mailing-list/search/
>> Site: http://lists.radiantcms.org/mailman/listinfo/radiant
>>
>
>
> _______________________________________________
> Radiant mailing list
> Post: Radiant at lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site: http://lists.radiantcms.org/mailman/listinfo/radiant
More information about the Radiant
mailing list