EasyBlog allows you to import RSS feed from other site into your blog. Hence in this section, we will briefly guide you on how to setup your first RSS feed imports. Feed importer behavior can be configured at Components > EasyBlog > Feed Importer.
Configuring Feed Details
On this page, you will see the list of feed importer on your site. If you have not setting up any feed importer, here are a few steps which you can use as a guide.
Adding new feed into EasyBlog is quite easy. To begin, click on the New button located at the top left of this page. This button will bring you to the feed importer setup page. All you need to do is to provide the necessary information required to complete this process.
Every feeds requires a title as it's identifier. Give a title for your feed so that you can track the feed easily.
- Feed URL
Provide a valid RSS feed URL for feed importer. You may test the feeds at Feed Validator for it's validity.
This option allows you to publish and unpublish this feed from your site.
- Process In Cron
This option determine whether to process this feed to retrieve new items when the cronjob is executed.
- Cron Interval
This option allows you to specify the time interval to process this feed.
- Show Original Author
This option allows you to specified the original author in the blogpost if it exists.
This option allows you to specify any information about rights, e.g. copyrights, held in and over the feed entry.
- Include Source Link
This option allows you to include the source link for the feed importer in the content of your blogpost.
- Total Items
This option allows you to determines the total amount of feed items to fetch each time it imports.
Configuring Feed Publishing Details
On this section, you will able to determine the imported feed's item behavior on the site.
- Publishing Status
This option allows you to automatically publish all the blogpost from this feed on your blog.
This option allows you to to select which language should all the blogpost be in from this feed after a successful imports.
- Publish On Frontpage
This option determine should all the blogpost be published on the frontpage.
- Import Image As Post Cover
This option allows you to set a post cover for each blogpost created from this feed. When this option turned on, EasyBlog will try to import the first image in the media tag as its post cover.
- Auto Post
This option allows you to automatically autopost each blogpost created from this feed into your configured social sites.
- Notify Users
This option allows you to send notification to all subscribers on the site. If you do not want any notification being sent when importing feed, you should turn this option off.
- Create Blog In Category
This option allows you to specify which category should each blogpost created from this feed be posted into.
- Create Blog As
This option allows you to specify which author should each blogpost created from this feed be posted under.
- Associate Team
This option allows you to specify which team blog should each blogpost created from this feed be associated with. If you do not want these blogposts associated with any team, you should leave this option empty.
Get Full Text From Feed
This option allows you to import full text from the feed. EasyBlog will try to get the full text from the original site.
WARNING: This feature require your PHP compiled with libxml library and DOM/XML enabled to work correctly. In addition, this option might cause you some penalty on processing performance.
You should disable this option if you run into a problem when using feed importer.
- Store content as
This option allows you to specify the content type that should each blogpost created from this feed be stored as.
- Allowed HTML tags
This option allows you to specify the allowed html tags for each blogpost created from this feed. You may add more here in a form of comma separated value. E.g:
Testing Feed Importer
After you have completed the above sections, click on the Save button to add this feed. Next, you will see a Test Import button located under the feed title. If you wish to test fetching this feed, you may click on this button.
Automate Feed Importer
In order to automate this imports process, you might need to setup a cronjob specifically just to import feed. By doing this, you will be able to manage your cronjob easier in the future. For further information, you can read this understanding cronjobs documentation.
Continuing on the automate feed importer, you will need to setup the cronjob for importing the feeds into EasyBlog. Assuming you're familiar with cPanel cronjob, create a new cronjob task and configure the cronjob command to this:
You will need to change
<yoursite.com> according to your site domain and make sure that the cronjob command is placed correctly.
Other cronjob application may vary from this guide. Basically, the only changes to the command is the url. If you're using other cronjob application, please configure it accordingly.