This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Webmaster forum > December 2005 > Howto make Magpie 0.72 rss newsreader post the feed from a news





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Howto make Magpie 0.72 rss newsreader post the feed from a news
jon

2005-12-26, 10:47 pm

Hello,
I having been reading all this faq and having no luck trying to get this rss
reader up and running on my website and was wondering if someone might be
able to help me out. The problem that I am having is trying to get my php
file to read the feed. Here is what I have tried.
1) Created a directory called magpierss and chmod 777

2) Uploaded the 4 files rss_cache.inc,rss_fetch.inc,rss_parse.inc and
rss_utils.inc and the exlib directory and snoopy.class.inc and placed it
into the magpierss directory and chmod 755
Hope these permissions are ok.

3)Next I created a text.php file
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML><HEAD><TITLE>test </TITLE>
<TABLE cellSpacing=3 cellPadding=7 border=0>
<TBODY>
<TR><FONT
color=#cccccc></FONT><!--NavBar--><!--NavBar--><!--NavBar--><!--NavBar--><!-
-NavBar--><!--NavBar-->
<TD class=sidenav vAlign=top width=170 bgColor=#718aef>
<DIV id=myMenu><A href="http://test.com/index.php">Home</A>
etc
<!--BodyText-->

<?php
require_once('magpierss/rss_fetch.inc');
?>

<?php
require_once(' http://www.feedforall.com/samplefeedtemplate.htm');
?>

</html>

As per the instructions it mentions that I should place the following on the
top of the PHP file
require_once('magpierss/rss_fetch.inc');
When I try this it does not show the feed in my webpage. If someone got this
script to work can they help me out.
thank you


Elliot

2005-12-28, 6:38 pm

>
><?php
> require_once(' http://www.feedforall.com/samplefeedtemplate.htm');
> ?>


If you are using the template from FeedForAll why don't you use their free
rss2html.php script to display the feeds contents? It is free and there is a
download at: http://www.feedforall.com/free-php-script.htm

Best of luck,
Elliot

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews