FeedForAll Forum Index ?
?Home?????FAQ????? Search ?????Register ?????Profile? ????Log in
?Adding xml code manually View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.This topic is locked: you cannot edit posts or make replies.
Author Message
nancy651



Joined: 15 Jan 2016
Posts: 2

PostPosted: Fri Jan 15, 2016 10:21 am Reply with quoteBack to top

I am trying to add the xml code to the sidebar of my site. I am using Wordpress and going through the editor for the primary sidebar - the code there is php. If I add the xml code I get a syntex error.
Right now I am using rssinclude (free trial) and you can get the code in php and it works (http://www.bestsellersworld.com) on the right you will see a feed from Amazon. I already have Feedforall and don't want to pay for another program but how do I get this to work on my site?

The xml code I have is:




Best Selling Books at Amazon
A list of the best selling books at Amazon.com.
http://www.amazon.com/gp/rss/bestsellers/books/ref=zg_bs_books_rsslink?tag=productsgalore09
http://blogs.law.harvard.edu/tech/rss
Fri, 15 Jan 2016 09:55:24 -0500
Fri, 15 Jan 2016 09:53:06 -0500
FeedForAll v2.0 (2.0.2.9) http://www.feedforall.com

Best Selling Books at Amazon
A list of best selling books at Amazon.com.
http://www.amazon.com/gp/rss/bestsellers/books/ref=zg_bs_books_rsslink?tag=productsgalore09
B4F3BDCF-C6C7-4F15-94D6-375B621EAA67
Fri, 15 Jan 2016 09:52:33 -0500


View user's profile
Tech Support



Joined: 27 Aug 2004
Posts: 2806

PostPosted: Fri Jan 15, 2016 11:38 am Reply with quoteBack to top

Your question may be answered better by rssinclude's support department as their PHP script isn't one of our products.

If you mean in general, how do you get XML code to display as browser viewable content in a sidebar, you may want to try using our rss2html PHP script and reference this forum thread on its usage examples:
http://www.feedforall.com/forum/viewtopic.php?t=384&sid=8f43b9d104e84665b694abd5512ed541

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



Joined: 15 Jan 2016
Posts: 2

PostPosted: Fri Jan 15, 2016 1:27 pm Reply with quoteBack to top

Is there any other way to get the Feedforall code to show on the sidebar of Wordpress?
View user's profile
Tech Support



Joined: 27 Aug 2004
Posts: 2806

PostPosted: Fri Jan 15, 2016 1:52 pm Reply with quoteBack to top

Since a Feed is RSS 2.0 formatted XML content, it depends on Wordpress. If Wordpress has a mechanism for displaying that XML content on a side bar through their site builder, you should be able to copy and paste the code from FFA's XML source (Under the Menu View - XML Source) in to it.

If the side bar is HTML, however, you'll need to translate the RSS Formatted XML content in to browser viewable HTML content by using our rss2html.php script or something similar, then feeding the output from that script in to the sidebar.

_________________
Create RSS Feeds
Audio Recording and Editing
View user's profile
Display posts from previous:?? ? ?
This forum is locked: you cannot post, reply to, or edit topics.This topic is locked: you cannot edit posts or make replies.


?Jump to:? ?



View next topic
View previous topic


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