Loading...
 
Features / Usability

Features / Usability


RSS Feed Question

posts: 45

Hello,

I have read the documentation and am still confused on how to create content for my site using rss feeds. I am interested in pulling content from news sites, but I would like for users to read the news without leaving my site.

Is this possible using tikiwiki? Could this be done using articles?

Thanks in advance!

posts: 3665 United States

Tiki has two types of RSS feeds.

  • If you want to crate an RSS feed from your Tiki's main sections (wikis, articles, images, etc.) you simply need to turn on the RSS feature. See the docs for details.
  • If you want to syndicate RSS feeds from other sites on your Tiki, you need to create an RSS module. See the docs for details.


HTH,

-Rick



> I have read the documentation and am still confused on how to create content for my site using rss feeds. I am interested in pulling content from news sites, but I would like for users to read the news without leaving my site.
>
> Is this possible using tikiwiki? Could this be done using articles?
>
> Thanks in advance!
>


posts: 257 United States

Jingles,\
Hey it's pretty easy!

Creating Feeds

Tiki is set up to generate RSS feeds from Blogs, Image galleries, File galleries, the Calendar, Articles, Forums... -and more. To turn on the feature click Admin so you get the page with the little icons and choose the RSS icon. "Enable" the features you want to feed to the world. Save it and a little RSS icon will appear for users on pages where a feed is available.

Keep in mind that "outgoing" feeds of your own Tiki blogs, calendar, image and file galleries and articles can also be displayed within your own Tiki!(See Below for instructions.) This is a handy way to summarize content from one part of your site in another. I use it for file downloads where I've set up a file gallery -but rather than send people to the gallery I stick an RSS feed in the page for that group so they don't have to leave the page to download the file. No doubt you'll find more ways to use this powerful feature.

To use off site content:

Get your feed:
Go to the news site you you want to get a feed from. Click through to their RSS link. Copy the URL of the link from your browser.

Make An RSS Module
In Tiki, go to the Admin menu down the left side of your page (not the page with all the icons) and click on "RSS Modules". Type a name for your feed (likely the name of the originating feed, say "New York Times") -this is so you can recognize it in the list you'll be making of all your RSS feeds.

Enter a description if you like.

In the "URL" box put the URL of the feed you copied in step one above.

Choose a "refresh rate": event calendar or news feeds might benefit from a fast refresh, - Blogs maybe once a day -whatever floats your boat.

Click "show feed title" and "publish date" as these are handy pieces of info.

After you "Save" you'll see an RSS Module list (with only one RSS Module in it if this is your first one). This module tells Tiki where to pick up the feed (via the URL). Write down the "ID" number (likely "1" -again, if this is your first).

Imbed Your RSS Feed In Your Wiki Pages Or Module


Here's the easy part: while editing any wiki page (or within any user module) stick this bit in to get your RSS feed displaying:

{rss=1 max=5}

...where "1" is the feed ID and max=5 is the maximum number of feed items to display (I have no idea if there are limits to the max number but it's more than 5!)

Save your page and voila! You'll have a feed where you want it.


posts: 45

Thanks for the information! I did what you said, but I got the following error messages multiple times:
Notice: strtotime() function.strtotime: Called with empty time parameter in /home/jingles2/public_html/lib/wiki-plugins/wikiplugin_rss.php on line 13

Notice: strtotime() function.strtotime: Called with empty time parameter in /home/jingles2/public_html/lib/wiki-plugins/wikiplugin_rss.php on line 18

What do they mean and how do I get rid of them?

You can find the rss feed on the Austin page on GLBTConnect.com. I was hoping of a way to not lead visitors away from the site when they click on one of the links. Is that possible?

posts: 3665 United States

Note that there are actually 2 different RSS options. See the docs for details

There is the RSS wiki plugin, which uses the format:

Copy to clipboard
{RSS(id=>XXX,max=>YYY,date=>1,author=>1,desc=>1)}{RSS}


But there is also an RSS Smarty function, that uses a slightly different format:

Copy to clipboard
{rss id=XXX, max=YYY}


>
> You can find the rss feed on the Austin page on GLBTConnect.com. I was hoping of a way to not lead visitors away from the site when they click on one of the links. Is that possible?

No. The whole point of an RSS feed is to provide a link to external content. If you want to actually capture the external content and place it in your website, you could use a framed link.

HTH,

-Rick


posts: 1817 Catalan Countries

It seems to be working fine in the next 1.9.8...
(if urgent to have it fixed and before 1.9.8 is released as stable, you can download - at your own risk - the latest code from http://dev.tikiwiki.org/Download ). It works for me...

Unclegeo, or jinglesnbells, please, consider improving the docs if you know how, to help users facing the same doubts as you had or solved here:

http://doc.tikiwiki.org/RSS and related pages.

posts: 257 United States

Jingles,

I noticed I used a [ when I should have used a { at the beginning of thr RSS code. If you copied it literally that may have been the problem. Also, you did enable RSS feeds for each section if the wiki right?

Otherwise that error suggests a time function which I know bupkis about. Rick, however, knows everything ;>)

Xavi,

I think I posted the instructions properly at http://doc.tikiwiki.org/tiki-index.php?page=RSS. I hope it's in the right place. Tiki has been good to me and I'm glad to give back -even though I'm maybe a power user at best and not a programmer type.

Question; how do I enclose lines of wiki or HTML code without them triggering functions on the doc site or here?

Uncle Geo

posts: 1817 Catalan Countries

Hi Uncle Geo:

> Xavi,
>
> I think I posted the instructions properly at http://doc.tikiwiki.org/tiki-index.php?page=RSS. I hope it's in the right place. Tiki has been good to me and I'm glad to give back -even though I'm maybe a power user at best and not a programmer type.

So am I :-)

However, I'd request you to combine your information with the information already in thre before your addition:

  • RSS is an overview page, and
  • RSS User , or RSS Admin are more detailed pages for information regarding rss from the point of view of the end user, and from the point of view of the admin configuring rss.


Could you please re-locate your addition to the proper places, whereever they should go?

I'm also very glad to give back (that's why I ehlp at doc.tw.o (since I can't code to make tiki software better)

> Question; how do I enclose lines of wiki or HTML code without them triggering functions on the doc site or here?

For Wiki, use PluginCode (I updated that page recently ;-).
For html, I don't know... (I think that the main problem is the "lowerthan" sign). You could try finding and users an html code for that sign... (I think I've seen it written this way somewhere, to show html code within wiki pages... Or just disable html in wiki pages, I guess, if you are a site admin (under Admin home -> Wiki, I think)

Cheers, (and HTH)

xavi smile

posts: 257 United States

Xavi, I'll move that stuff soon. I am just swamped at work this week.

Xavi, Rick, Thanks for the code tips! What is cool is that the tiki-notify e-mail shows the raw characters and the forum shows what it will look like. Thanks!

PS. I know Rick is in the Southeast US -where are you? I'm in Minnesota where, quite opposite to our winter it's 99 degrees F!

posts: 1817 Catalan Countries

> PS. I know Rick is in the Southeast US -where are you? I'm in Minnesota where, quite opposite to our winter it's 99 degrees F!
I'm in the other side of the Atlantic... In fact, at the Mediterranean :-)
Search for Barcelona, in Catalonia, Spain in any map...
http://beta.plazes.com/plazes/110776:ecology_department_fac

Cheers,

posts: 3665 United States

>
> Question; how do I enclose lines of wiki or HTML code without them triggering functions on the doc site or here?
>
Use the {CODE()}....{CODE} plugin:


Here is my non-parsed Wiki code:

Copy to clipboard
{rss id=xxx}



Here is my non-parsed HTML code:

Copy to clipboard
<some tag>


For the HTML, you have to encode the opening bracket as: & l t ;


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting