Scoop -- the swiss army chainsaw of content management
Front Page · Everything · News · Code · Help! · Wishlist · Project · Scoop Sites · Dev Notes · Latest CVS changes · Development Activities
How to display an RDF feed that can't be edited Feature Requests
By senorbunch , Section Help! []
Posted on Wed Oct 22, 2003 at 12:00:00 PM PST
Can anyone advise me how I'd set up an RDF_feeds box that users couldn't edit? I want to have several feeds that users can't edit/remove on my Scoop site, The Edge City Chronicle, which would be displayed separately from the main RDF_feeds_flex block on the site. Has anyone set up something along these lines, and might be able to provide any insight/guidance/code?

< Daily Kos is now on Scoop | PleasantTingle.net : A Zine for the Unwashed Masses >

Menu
· create account
· faq
· search
· report bugs
· Scoop Administrators Guide
· Scoop Box Exchange

Login
Make a new account
Username:
Password:

Related Links
· Scoop
· The Edge City Chronicle
· More on Feature Requests
· Also by senorbunch

Story Views
  25 Scoop users have viewed this story.

Display: Sort:
How to display an RDF feed that can't be edited | 3 comments (3 topical, 0 hidden)
the rdf box (none / 0) (#1)
by janra on Thu Oct 23, 2003 at 09:32:32 AM PST

The rdf_feeds box can take arguments.  If you specify the feed number in the box call when you place it on the page template, it will display those feeds, guaranteed.

So, instead of going |BOX,rdf_feeds| you would go |BOX,rdf_feeds,3,7,15| and those feeds will be displayed.  If you put 7,15,3 in the box, it'll still display 3,7,15 because it does them in numeric order. (Unless you change the box to do them in the order you specify; haven't looked at how hard that would be.)

To find out what number a particular feed is, go to the RDF Feeds admin tool and hover over the RDF URL entry for that feed; the actual destination of the link has the RDF feed number in it.

If the RDF feeds box is given feed numbers to display, it will display only those feeds; if not, it will display whichever feeds the user has selected in the display preferences.  So, you could have:

|BOX,rdf_feeds,3,7,15|
|BOX,rdf_feeds|

and the three feeds you specify will be displayed, followed by whichever feeds the user chooses.

The boxes are turned on and off together by the display preferences, so if you don't want users to be able to turn the static box off, you should uncheck the "allow user to toggle box off" in the boxes admin tool.

--
Discuss the art and craft of writing




Code is useful (none / 0) (#2)
by johngerhard on Mon Jan 04, 2016 at 10:52:23 AM PST

In many cases, the people want to remove or edit the context from the scoop site or place. I had a lot of experiences with such things. This bestessays discount code will be useful for those who want to learn how to create RDF feed that can't be edited by the readers or visitors.



Thank you (none / 0) (#3)
by scdobre on Fri Aug 16, 2019 at 07:16:46 AM PST

I hope to see more news from you, this is what I need to find websta



How to display an RDF feed that can't be edited | 3 comments (3 topical, 0 hidden)
Display: Sort:

Hosted by ScoopHost.com Powered by Scoop
All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest © 1999 The Management

create account | faq | search