RSS Importer Module
Revision History
- Redwine - 03/08/2017 - Fixed the inlcudes path that was generating errors and breaking the execution when using a cron job. See how to set up a cron job below!
- Added instructions on how to accurately and correctly use it in a cron job.
Description
Import RSS feeds from your favorite websites into your plikli site.
Instructions
Settings
- Click on "Add a new feed."
- Enter feed URL in "Feed URL." input
- Click on the "Edit" link to configure the feed settings
- Click "Add a new field link" to map the fields of the RSS feed to your plikli site fields. For example:
The basic fields are the below three. However, make sure to select a relevant field from the feed to assign to the link_tags, otherwise, rss importer will split the title of the feed article and assign it to the link_tags! (See pictures below)
- link_title
- link_url
- link_content
Keep in mind that every Feed is built differently. So, you have to examine every feed to get to decide what elements to use and match with Plikli field! See the difference of two feeds in the pictures.
You must select a field for the tags, as illustarted in the picture:
Create a Cron Job
- COPY /modules/rss_import/import.php file to the ROOT of the Plikli CMS
- Cron Jobs are run from /bin/bash. In most cases, depending on your host's permissions you will get this error:
/bin/bash: /home/YOUR-ACCOUNT-USERNAME/public_html/THE-FOLDER/import.php: Permission denied
- To GUARANTEE the cron job will work, you have to specifically tell the server to run the cron as PHP, in the command box:
/usr/bin/php /home/YOUR-ACCOUNT-USERNAME/public_html/THE-FOLDER/import.php
- Cron jobs fire an email to the owner every time they run. To stop receiving these emails, add the following to the end of the command: >/dev/null 2>&1 OR JUST > /dev/null
/usr/bin/php /home/YOUR-ACCOUNT-USERNAME/public_html/THE-FOLDER/import.php > /dev/null 2>&1
- If you still received emails, CHECK WITH THE HOST NOT WITH plikli Support!
Revision History
- ChuckRoast - 1/21/2016 - Converted the module to be used with Plikli CMS.
- Yankidank - 08/09/2013 - import.php can be left in the module's directory. Fixed Smarty include path.
- Yankidank - 08/08/2013 - v2.0 Updated for pligg 2.
- Yankidank - 3/13/2009 - v0.9 Added scriptaculous to module.
- Yankidank - 2/11/2009 - v0.8 Fixes for images and template locations.
- Yankidank - 09/17/2008 - v0.7 Updated to work with new admin panel location
- Mark E - 02/08/2008 - v0.6 Rearranged administration interface to be more streamlined; modified feed update link to only update the
selected feed unless Import All Feeds is selected; added confirmation before deleting a feed; added Edit and Import links to main
admin page; added functionality so that if a feed doesn't have tags then keywords in the title are used as tags; added "stopword"
list to prevent certain words from becoming tags.
- AshDigg - 08/20/2007 - v0.5 Misc bug fixes
- AshDigg - 05/03/2007 - v0.4 Bug fixes, added 'order' option
- AshDigg - 04/29/2007 - v0.3 First version as module