Setting up a Pligg RSS feed tutorial Part 1.

October 23, 2008

For those of you that have come across this page and don’t know what Pligg is.

Pligg is an open source Content Management System (CMS) available to download for free. Pligg has perfected content management in a unique way that encourages users to participate and control the content on the site. This makes the site user-moderated and allows for “social publishing” where the stories are created and promoted by members not website editors. Pligg CMS is based on PHP and MySQL technologies that allow it to be installed on almost any web host on a relatively small budget. For support please visit the Pligg Forum where you can find help 24 hours a day thanks to our excellent development team and contributors. Pligg is free software, but you are welcome to donate any amount by clicking the button below.

In a nutshell Pligg is trying to do what Digg does however Open Source.

In this tutorial I’m going to explain how to setup the RSS feed importer. So we are going to assume that your Pligg site is setup and raring to go.

Now let head on over to the admin area. More than likely the RSS module is not active so we need to activate that. Click the Module Management link and go to that page. Look for RSS Importer and if it’s not active please activate it. Once active it should show towards the top of the page as an active module.

Next step is to head on back to the admin and in the admin panel there should be a link for the RSS Importer. Click that and it will take you to the RSS Import admin area. Lets add a new feed so click Add a new feed. The page should refresh and have some options. First thing you will want to do is name the feed. Second you hopefully have the location of your rss feed. I’m goign to use http://sports.yahoo.com/top/rss.xml as my example. Once you’ve entered and saved those two items. You will see some other options that are pretty self explanitory.

- Feed Frequency (hours): 36 — how often to check for new items.

- Feed Order: 1 — Do we start with the last items first? 0 = no, 1 = yes

- Feed Random Votes: 0 — Do we use a random number of votes? 0 = no, 1 = yes

- Feed Votes (if not random): 1 — how many votes new items recieve (limit 200)

- Feed Votes Minimum (if random): 2 — how many votes new items recieve (limit 200)
- Feed Votes Maximum (if random): 4 — how many votes new items recieve (limit 200)

- Feed Items Limit: 1 — how many new items to take from the feed when it’s checked
- Feed URL Dupes: 0 — Allow duplicate URL’s 0=No, 1=Yes, Allow
- Feed Title Dupes: 0 — Allow duplicate Title’s 0=No, 1=Yes, Allow
- Feed Submitter Id (number): 62 — The ID of the person who will be listed as the submitter
- Feed Category Id (number): 61 — The ID of the category to place these items into

Maybe except for the feed submitter id and feed category id this section should be easy to figure out. To find out the feed submitter id and category id you might want to look in your database. 

Now here comes the important part. The add a new field link. You must add at least 3 new fields in order for this to work. You must match up your feed and pliggs Title, Link and content in order for the feed to work. Otherwise you’ll just get an error. It should look something like this.

– feed field name: title — pligg field name: link_title — Remove this link
– feed field name: link — pligg field name: link_url — Remove this link
– feed field name: description — pligg field name: link_content — Remove this link

Now hopefully you’ve done all this right and if you go to the Import the feeds link up top and click it. You should see a successful import of your feed and when you go to your site you should see a new story or stories added.

If there is enough interest shown I’ll write a part two to this tutorial on how to automate the import process.

One Response to “Setting up a Pligg RSS feed tutorial Part 1.”

  1. If You Build It, Will They Come? SarahPalinWillFixEverything.com Goes Social. on August 2nd, 2010 8:08 am

    [...] allows you to feed RSS feeds automatically into the system.  I’m doing that with a number of feeds (note: you have to copy the module that does this [...]

Got something to say?

You must be logged in to post a comment.