Jump to content
Publisher-in-Chief

Using RSS Feed Loader and Atom Feed Loader

Recommended Posts

 

I would like to know if anyone has used RSS Feed Loader and Atom Feed Loader module and can advise how to set it up to open a rss feed url in a page.

I could not find a tutorial or documentation other than README file:

README

ProcessWire RSS Loader
======================

Given an RSS feed URL, this module will pull it, and let you foreach() it
or render it. This module will also cache feeds that you retrieve with it.

 

Thanks,

Share this post


Link to post
Share on other sites

Check out the module's support page, it has a fairly detailed tutorial

 

Share this post


Link to post
Share on other sites

 

Thanks, I have read the support page and installed the module.

This is all the support page provides:

 

INSTALLATION

 


 

The MarkupLoadRSS module installs in the same way as all PW modules:

1. Copy the MarkupLoadRSS.module file to your /site/modules/ directory.

2. Login to ProcessWire admin, click 'Modules' and 'Check for New Modules'.

3. Click 'Install' next to the Markup Load RSS module.

 

---------------------------------------------------------------------------------

It only instructs how to install the module.  But no tutorial on how to set it up.

I would like instructions how to open a rss feed and display it on a page.

 

Thanks.

 

Share this post


Link to post
Share on other sites

Hi @Publisher-in-Chief,

Welcome to the forums!

The link @abdus posted contains an example usage which displays the contents of an rss feed. Copy that example into your template file. Replace the example URL with the one you want to use. View the page.

Additional information on usage can be found under the More Details section of that post.

Let us know if you need help with what you want to accomplish.

 

  • Like 1

Share this post


Link to post
Share on other sites

 

Hi Rick,

Thanks for advice.

When you say copy the example into template file, can you advise how to do this?

Please show a screenshot on where to copy the example usage. I just need to know where to copy.

I am totally new to Processwire and not familiar with its structure.  Do I create a page and copy the example code into that page?

I am using a template that I purchased that included all files and the pages were already created.

 

Share this post


Link to post
Share on other sites

Do you have Tracy Debugger installed? I believe you can test the rss feed in the console. You would use the Example 1 code from Ryan's post, minus the php tag, like so:

$rss = $modules->get("MarkupLoadRSS");
$rss->load("http://www.di.net/articles/rss/");
foreach($rss as $item) {
	echo "<p>";
	echo "<a href='{$item->url}'>{$item->title}</a> ";
	echo $item->date . "<br /> ";
	echo $item->description;
	echo "</p>";
}

This example works on my 3.0.61 install, so it should work for you as well.

What do you mean you purchased a template with all files (What files?) and the pages (What pages?) were already created? Did you purchase a site profile? 

  • Like 1

Share this post


Link to post
Share on other sites

 

Thanks for advice.

I will install Tracy Debugger.

I purchased a "template" from a developer on Codecanyon, i.e. a complete Processwire site with all files and pages designed and created:

https://codecanyon.net/item/seavuel-multilingual-hotel-website-with-cms-bootstrap-theme/19316343

Please advise exactly where I should paste the Example 1 code   A screenshot would be ideal to see where to insert.

Excuse my ignorance, but I am totally new to Processwire only ever worked on Joomla for the past five years, where "Template" has a different meaning.

This is my customised site using the Seavuel website

http://www.salobreapp.co.uk/

 

Share this post


Link to post
Share on other sites

Hi @Publisher-in-Chief,

Once you have Tracy installed, it will display a toolbar at the bottom-right of your screen. Click the Console ">_" icon, and paste Example 1 in the window. Click Run to execute the code.

No worries. Every one of us are newbies at something. Feel free to ask any question. There are many good people here that will be glad to help.

Nice site too.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...