FeedForAll Forum Index  
 Home  •  FAQ  •   Search   •  Register   •  Profile   •  Log in
 Put RSS into html page's sidebar View next topic
View previous topic
Post new topicReply to topic
Author Message
philbu



Joined: 30 Apr 2013
Posts: 4
Location: Bay Area

PostPosted: Tue Apr 30, 2013 3:09 pm Reply with quoteBack to top

I've uploaded the 3 files according to documentation. I used the buildURL utility successfully and I see the feed in the resulting page.

Now, how do I put that RSS feed into the sidebar of my static html page? What is the specific code I need to put in the sidebar div?

thnx!
View user's profile
Tech Support



Joined: 27 Aug 2004
Posts: 2783

PostPosted: Tue Apr 30, 2013 3:15 pm Reply with quoteBack to top

Have a look at our usage thread, it details the different methods for implementing the script's output in a frame or sidebar:

http://www.feedforall.com/forum/viewtopic.php?t=384

_________________
Create RSS Feeds
Audio Recording and Editing
View user's profile
philbu



Joined: 30 Apr 2013
Posts: 4
Location: Bay Area

PostPosted: Tue Apr 30, 2013 3:28 pm Reply with quoteBack to top

Yes, thanks much, I have read that file many times. I'm using Example 2. I have accomplished the first 3 steps.
Guess I'm having trouble understanding step 4. Create the following link on an existing webpage:

http://(url to rss2html.php on your web server)?TEMPLATE=(url to your custom template)&XMLFILE=(url to your RSS feed)

Do I "create the link" within the sidebar divs and if so what html tag do I use to enclose it?

And another dumb question: Do I copy the sample template code into that sidebar, as well?
View user's profile
Tech Support



Joined: 27 Aug 2004
Posts: 2783

PostPosted: Tue Apr 30, 2013 3:36 pm Reply with quoteBack to top

Actually, based on the description of what you want to do, it sounds like you would want to use Example #3.

_________________
Create RSS Feeds
Audio Recording and Editing
View user's profile
philbu



Joined: 30 Apr 2013
Posts: 4
Location: Bay Area

PostPosted: Tue Apr 30, 2013 4:00 pm Reply with quoteBack to top

OK, thnx. So, following Example 3, I opened a blank php file in Dreamweaver, pasted the code shown between the body tags, saved it as template.php, and uploaded it to my root folder, same place as the other files.
I then pasted the Table code into the sidebar of my static html home page, with the proper Template and XMLFILE names in it. Uploaded that file.
On my first check, the sidebar was blank.
I then renamed the home page with the shtml extension.
This time there is something in the sidebar, but it is an error message: "Configuration setting prohibit using the specified template file, exiting".

So, I must be getting somewhere, but stuck here. : )
View user's profile
philbu



Joined: 30 Apr 2013
Posts: 4
Location: Bay Area

PostPosted: Tue Apr 30, 2013 4:50 pm Reply with quoteBack to top

I found the solution:

Try changing this line in the rss2html.php script:

$fileAccessLevel = 1;

to this:

$fileAccessLevel = 0;


thnx
View user's profile
Display posts from previous:      
Post new topicReply to topic


 Jump to:   



View next topic
View previous topic


Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme