FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » RDF customization
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
RDF customization [message #28145] Wed, 12 October 2005 14:23 Go to next message
Markus Allen is currently offline  Markus Allen   United States
Messages: 58
Registered: September 2005
Karma: 0
Member
According to the RDF "Cheat Sheet", in order to (for example) display the last 10 recent messages, we'd use:

forum/rdf.php?mode=m&l=1&n=10

But how do we customize it to show just the last 10 messages of a category -- and further tweak it to only show the title, user, and timestamp of freshest message?

Other than the "Cheat Sheet", is there any advanced tutorial on RDF... or perhaps examples -- I've looked everywhere.

Thank you in advance.
Re: RDF customization [message #28150 is a reply to message #28145] Wed, 12 October 2005 14:43 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
?cat=[category_id]&l=1&n=10

FUDforum Core Developer
Re: RDF customization [message #28153 is a reply to message #28145] Wed, 12 October 2005 15:19 Go to previous messageGo to next message
Markus Allen is currently offline  Markus Allen   United States
Messages: 58
Registered: September 2005
Karma: 0
Member
I tried that at my site and I get:

"no data matching data"

Any thoughts.
Re: RDF customization [message #28157 is a reply to message #28153] Wed, 12 October 2005 16:20 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
It does not handle sub-categories, you need to specify the lowest level categories...

So changing the id to 121 makes the operation work.


FUDforum Core Developer
Re: RDF customization [message #28160 is a reply to message #28145] Wed, 12 October 2005 17:22 Go to previous messageGo to next message
Markus Allen is currently offline  Markus Allen   United States
Messages: 58
Registered: September 2005
Karma: 0
Member
Cool... on the 5-yard line on this. Thank you.

So how do I know what the category id is without having to ask? I looked in the URL and I didn't see it.
Re: RDF customization [message #28166 is a reply to message #28160] Wed, 12 October 2005 20:25 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Look @ the URLs on the front page (category names) or look on the category manager in the admin control panel.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Anchor text with link wizard
Next Topic: Mailman & FUDforum
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 01 05:22:38 GMT 2024

Total time taken to generate the page: 0.02767 seconds