FeedForAll Forum Index ?
?Home?????FAQ????? Search ?????Memberlist ?????Register ?????Profile? ????Log in
?Free rss2html.php Script View next topic
View previous topic
Post new topicReply to topic
Author Message
Guest






PostPosted: Tue Jan 11, 2005 7:31 pm Reply with quoteBack to top

This free rss2html script is available for download from http://www.feedforall.com/free-php-script.htm please post any questions related to setup here.

Thank you
Webmaster
FeedForAll - http://www.feedforall.com
Guest






PostPosted: Tue Jan 18, 2005 3:22 pm Reply with quoteBack to top

Free RSS to HTML Script
Hanover, MA - January, 2005 - A free PHP script, rss2html.php, that converts RSS feeds to HTML has been made freely available by NotePage, Inc. The rss2html.php script allows webmasters to display RSS feeds on their website.

RSS or Really Simple Syndication, as it is commonly known, is a technology that gives webmasters the ability to to easily distribute and publish syndicated content on the Internet.

Most webmasters understand the potential benefits of making RSS feeds available for viewing in a web browser. FeedForAll's new rss2html.php script allows users to create webpages that will always display the most current information from the RSS feed, and because the resulting page is pure HTML, it will be in a format friendly to search engine robots. Using rss2html.php webmasters can customize the format and look of the web page created from the feed. The RSS feed's contents can easily be integrated into an existing website's theme. The rss2html.php script parses the RSS file, extracts the pertinent information, formats it, and serves it up as regular HTML.

The rss2html.php script runs on any webserver that can run PHP scripts, and it support feeds in the RSS 2.0, .93, .92, .91, or .90 format. Additional details and a download for the free script can be found at http://www.feedforall.com/free-php-script.htm

The new rss2html.php script is available from NotePage, Inc., makers of the popular RSS feed creation software, FeedForAll. FeedForAll's software enables webmaster to create, edit, manage and publish RSS feeds. RSS has evolved into a popular means to syndicate headlines and distribute content on the Internet. A free fully-functional 30-day trial of FeedForAll is available for download from http://www.feedforall.com
w1000



Joined: 24 Apr 2005
Posts: 15

PostPosted: Tue Apr 26, 2005 2:15 am Reply with quoteBack to top

I have experimented with this rss2html.php for a few days and am getting stumped. I reviewed some php info (I am totally new to it) and have a test page at
http://www.lfchosting.com/sportsfem/peace/TEST/botn_news11.html

It is showing ~~~ItemTitle~~~~ and so forth instead of the xml item.

I am trying this with a template table insert using
BasicHTMLTable.htm

-- but you may recognise that. The files are all in the same folder so it may be just a mistake in 'fetching' the xml to put into the page.
Note - I am guessing about the line to point to the xml file.
Here's the html code that I am inserting into my page:
____________________





~~~BeginItemsRecord~~~



~~~EndItemsRecord~~~



~~~ItemPubShortDate~~~

~~~ItemTitle~~~

~~~ItemDescription~~~



more info





____________________
It was a big help reviewing some beginner php lessons.
View user's profileSend private messageVisit poster's website
Tech Support



Joined: 27 Aug 2004
Posts: 804

PostPosted: Tue Apr 26, 2005 11:19 am Reply with quoteBack to top

It looks like you are pretty close. You just might not be calling it correctly.

I used the following link to test your webpage, with one of our feeds. Try using the same link, but with your RSS feed file after the 'XMLFILE=' parameter.

http://www.rss2html.com/public/rss2html.php?TEMPLATE=http://www.lfchosting.com/sportsfem/peace/TEST/botn_news11.html&XMLFILE=http://www.feedforall.com/blog-feed.xml

You could also use a local copy of rss2html.php instead of the one of our rss2html.com website.

Hope this helps.

_________________
FeedForAll Support
View user's profileSend private message
w1000



Joined: 24 Apr 2005
Posts: 15

PostPosted: Tue Apr 26, 2005 9:16 pm Reply with quoteBack to top

That's sort of helpful.

I try this link - based on suggestion -

http://www.rss2html.com/public/rss2html.php?TEMPLATE=http://www.lfchosting.com/sportsfem/peace/TEST/botn_news11.html&XMLFILE=http://www.lfchosting.com/sportsfem/peace/TEST/botnsitefeed.xml

and I get no 'item' content and the xml doesn't look like mine.

My feed for all generated xml has different tags than the sample xml so I try both systems and get failure. For instance - my generated code has
"title"
"description"
etc. ... not "ItemTitle" "ItemDescription" so I am trying to stick with the generated xml code format.

Ideally, what I'd like would be to get my sample html page to present the xml automatically inside a table using the feed for all sample template.

So the main page would be
http://www.lfchosting.com/sportsfem/peace/TEST/botn_news11.html

and the inserted xml file
would be
http://www.lfchosting.com/sportsfem/peace/TEST/botnsitefeed.xml

Please advise. :)

_________________
"To destroy this invisible government, to befoul the unholy alliance between corrupt business and corrupt politics is the first task of the statesmanship of today." Theodore Roosevelt April 19, 1906.
View user's profileSend private messageVisit poster's website
Tech Support



Joined: 27 Aug 2004
Posts: 804

PostPosted: Wed Apr 27, 2005 12:48 pm Reply with quoteBack to top

What did you use to create the botnsitefeed.xml file? It isn't in a valid RSS format. Most of the tag names are wrong.

I have pasted here a corrected (at least mostly corrected) version of your feed:




botnsitefeed
Timely Headlines From Back of the Net
http://bikefem.com
http://blogs.law.harvard.edu/tech/rss
Fri, 22 Apr 2005 18:06:18 -0400
FeedForAll v1.0 (1.0.2.0)

BROOKLYN KNIGHTS SIGN MARION JONES
The international track star, Marion Jones, announced she
will be joining the Brooklyn Knights soccer team. Her track
performance has lagged lately and her agent claimed she
"really wanted to play soccer since she was 7". The deal was
not disclosed to major media but BOTN has this exclusive
interview with Marion Jones on BOTN radio this weekend.
Stay tuned for more details.

http://www.espn.com

Fri, 22 Apr 2005 18:05:57 -0400


BOTN RADIO GETS SLAPPED BY FCC
BOTN Radio was warned by the FCC of complaints from a
listener in Irksville, Illinois about the use of the phrase "tree
trunk legs" on the air. The listener has requested the
broadcast licsense to be reviewed. A $15.00 fine is being
disputed by BOTN's attorneys.


http://www.backofthenet.com/News/botnradio01.html
Fri, 22 Apr 2005 18:05:57 -0400


GLOBALL SOCCER CONCEPTS JOINS ALASKA SOCCER MUSHERS IN MIDNIGHT TOURNEY
A midnight tournament in the land of the midnight sun is
being promoted by Globall Soccer Concepts. A 3 day stay
that included 2 overnights plus transportation will cost players
who qualify just $519.00 if they book a trip before July 1st.

http://www.cnn.com/sports/fakeitem.html

Fri, 22 Apr 2005 18:05:57 -0400


LADY RIDERS HAIL NEW MARKETING DEAL
The New York soccer team Lady Riders announces a six
figure marketing deal with Sears today. Included in the deal is
a four year satellite tv contract. Tickets to games will be
available at half price for fans who display a Sears credit card
at the gate.

http://www.backofthenet.com/News/ladyriders01.html
Fri, 22 Apr 2005 18:05:57 -0400




_________________
FeedForAll Support
View user's profileSend private message
w1000



Joined: 24 Apr 2005
Posts: 15

PostPosted: Wed Apr 27, 2005 7:59 pm Reply with quoteBack to top


~~~EndItemsRecord~~~

Your code looks like my original code - except my content isn't all flush left. But I thought xml could handle some white space, indents.

I'll try removing my spaces on the margins. But the tags look the same. I'll work a little on it.

As for earlier bit that looked like this :
_______________


more info




________________
with the 2 word tags ... I got that by copying from the RSS file after opening it in a WordPad. It looked like that might be the format (versus what I got from generated FeedForAll code.

Even working with the generated code I get blank (as of now) so I think my hitch is the code line 'calling' the xml to the page.[/i]
View user's profileSend private messageVisit poster's website
w1000



Joined: 24 Apr 2005
Posts: 15

PostPosted: Thu Apr 28, 2005 2:48 am Reply with quoteBack to top

I didn't get that squiggle item squiggle code from the RSS - I got it from the BasicHTMLTable template.

Oh well - that all seems useless.
My newsest test is this
http://www.lfchosting.com/sportsfem/peace/TEST/botn_news11.html

(revised) and I feel it is definately the way I am fetching the xml - not the xml code itself. And with the afore mentioned files uploaded I get get a blank when I try this url[url]
http://www.lfchosting.com/sportsfem/peace/TEST/botn_news11.html/rss2html.php?TEMPLATE=http://www.lfchosting.com/sportsfem/peace/TEST/BasicHTMLTable.htm&XMLFILE=http://www.lfchosting.com/sportsfem/peace/TEST/botnsitefeed.xml[/url]


Putting the xml into the html should be simple =sigh=
View user's profileSend private messageVisit poster's website
w1000



Joined: 24 Apr 2005
Posts: 15

PostPosted: Thu Apr 28, 2005 8:16 pm Reply with quoteBack to top

I think I solved it.
I re-read the instruction page again and discovered I had left the php page as is, without putting my url line in.

So I redid all the suggested changes in the php and I borrowed the i frame suggestion from another query in this thread to make it all show up.

It even displays my template.

Thanks everyone who at the forum for bearing with me.
I have no experience with php ... so by mistake I was just changing the html page over & over while that error remained in the php.

so far #15's a charm -

http://www.lfchosting.com/sportsfem/peace/TEST/botn_news15.html

View user's profileSend private messageVisit poster's website
Tech Support



Joined: 27 Aug 2004
Posts: 804

PostPosted: Fri Apr 29, 2005 12:16 am Reply with quoteBack to top

Good job!

I was just popping back in to give you a hand, but seems you figured it out.

Sorry I didn't help more, but you wouldn't have gotten that same warm fuzzy feeling that you do when you accomplish someting on your own :-)

_________________
FeedForAll Support
View user's profileSend private message
polo123456



Joined: 05 Jan 2006
Posts: 1

PostPosted: Thu Jan 05, 2006 2:00 pm Reply with quoteBack to top

Hello...
I follow the instructions to create a HTML link in order to place it in my web page and it update itself (Am I right?).
I tryed to place it in the code like this:


I'm just trying to generate an automatically News webpage from this content into my webpage