Re: [Hypercontent-users] News/RSS
Brought to you by:
alexvigdor
From: Alex V. <av...@co...> - 2005-12-01 15:31:33
|
Hi Carl, I actually just set up an RSS feed for the JA-SIG home page, which is being moved to HyperContent (it's not live yet). I set it up to use a navigation template to build a list of the 5 most recent news stories <nav-template sortchildren="by-date" childsortorder="descending" maxchildren="5" > <nav-template pattern="/news/*.xml" /> </nav-template> The XSL to produce the RSS is pretty simple, and I'm happy to share that if you'd like, although it's a little unique in this case because a news item on the JA-SIG site may actually point off-site, so the XML source is probably different than what you're working with. I just used the metadata title, description and date fields to populate each item, and use the title and description of the navigation file for the channel itself. Let me know if you want to see more, I could zip up the JA-SIG home page project so you can have a look at how its set up. Cheers, Alex On Dec 1, 2005, at 9:47 AM, Carl Barrow wrote: > Hi Alex > > I am going to use HyperContent for our University News which is held > in the campus portal. Initially, what I though was to have an index > page which would generate links to each of the news stories and then > use a uportal channel to scrape that content in. But now I'm > thinking that perhaps an RSS channel is probably better. Whilst I > have set up the ability to create an rss file in hypercontent, the > user actually has to do it. Have you produced anything there at > Columbia that would produce that RSS file automatically from the site > structure in the same way that navigation is created? > > Thanks > Carl > > -- > ************************************ > > Carl Barrow > Systems Integrator > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > ************************************ > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > |