Author |
Message |
damian0612
Joined: 30 Jun 2006
Posts: 75
|
Posted: Fri Jul 07, 2006 11:28 am |

|
I have downloaded the script for RSSMesh but don't completely understand how to apply this. Is it possible to have a step by step guide for this as the readme text isn't very details and I can't seem to get it to work? I'm sure I'll get there in the end but believe some kind of sticky on this would be useful to new users.
|
|
|

|
 |
MacSupport
Joined: 24 Feb 2005
Posts: 1370
|
Posted: Fri Jul 07, 2006 1:02 pm |

|
damian0612 wrote: |
I have downloaded the script for RSSMesh but don't completely understand how to apply this. Is it possible to have a step by step guide for this as the readme text isn't very details and I can't seem to get it to work? I'm sure I'll get there in the end but believe some kind of sticky on this would be useful to new users. |
The first thing you have to do is create a configuration file, the sample shipped with rssMesh will work. The easiest way to do this is with http://www.yoursite.com/rssMesh.php?buildConfig . That will display fields to fillin with the needed values. After clicking on "Submit" the new configuration will be displayed. Copy that from the screen into a file and then upload to the webserver to the same directory as rssMesh.php. Then it is used by http://www.yoursite.com/rssMesh.php?CONFIGFILE=newconfig.php
Jim
|
|
|
 
|
 |
damian0612
Joined: 30 Jun 2006
Posts: 75
|
Posted: Mon Jul 10, 2006 12:50 pm |

|
Thanks Jim,
So when I have done this, I take it I then use the RSS2HTML script to display the feed?
thanks
|
|
|

|
 |
MacSupport
Joined: 24 Feb 2005
Posts: 1370
|
Posted: Mon Jul 10, 2006 12:54 pm |

|
damian0612 wrote: |
Thanks Jim,
So when I have done this, I take it I then use the RSS2HTML script to display the feed?
thanks |
Yes, that will produce a feed that can be subscribed to by feed readers if you choose. And yes, you then can use rss2html.php to convert it to HTML for display on a web page.
Jim
|
|
|
 
|
 |
damian0612
Joined: 30 Jun 2006
Posts: 75
|
Posted: Mon Jul 10, 2006 9:39 pm |

|
thanks again Jim.
Hopefully, this will be my last qestion.
so, after using rssMesh, I come to using rss2html to display my rss file:
Running rss2html.php from your own webserver
Probably the best way to use rss2html.php is to upload it to your own webserver. This gives you two ways to access the script. First, you can setup a link on your webpage to access the script and resulting webpage.
Syntax:
http:///rss2html.php?XMLFILE=&TEMPLATE=&MAXITEMS=
The above URL should all be on one line, with no spaces.
Replace '' with the domain of your website
Replace '' with the full URL to your RSS feed (i.e. http://www.mydomain.com/myfeed.xml)
Replace '' with the full URL to the webpage template you want to use (i.e. http://www.mydomain.com/mytemplate.htm)
Replace '' with the maximum number of items from your RSS feed you want included on the webpage. The MAXITEMS variable is optional. If it is not included, all the RSS feed items will be included.
Sample:
http://www.feedforall.com/rss2html.php?XMLFILE=blog-feed.xml&TEMPLATE=sample-template.html&MAXITEMS=10
so my domain = mydomain.com/rss2thml.php
and Template = mydomain.com/rssMesh_mytemplate.xml
but I can't figre out what the XMLFILe is as my template contains my link to the XML file which is I built using mydomain_myconfig.pho?
I have probably lost you here. But bascally I am trying to display the content of my rss feeds I have merged with rssMesh!
any help would be greatly appreciated.
|
|
|

|
 |
MacSupport
Joined: 24 Feb 2005
Posts: 1370
|
Posted: Mon Jul 10, 2006 11:32 pm |

|
damian0612 wrote: |
thanks again Jim.
Hopefully, this will be my last qestion.
so, after using rssMesh, I come to using rss2html to display my rss file:
|
So let me make some assumtions:
You are running rssMesh.php as:
Code: |
http://www.mysite.com/rssMesh.php?CONFIGFILE=http://www.mysite.com/rssMeshConfig.php |
Your template is:
Code: |
http://www.mysite.com/template.html |
So if you plug that into rss2html.php?buildURL
You would get
Code: |
?http://www.mysite.com/rss2html.php?XMLFILE=http://www.mysite.com/rssMesh.php%3fCONFIGFILE%3dhttp://www.mysite.com/rssMeshConfig.php&TEMPLATE=http://www.mysite.com/template.html |
Jim
|
|
|
 
|
 |
thevoicebooth
Joined: 02 May 2006
Posts: 7
Location: Christchurch NZ
|
Posted: Tue Jul 11, 2006 10:52 pm |

|
Thanks for that post it was helpful... but when I try to get my xml using..
http://www.thevoicebooth.com/rssMesh.php?CONFIGFILE=http://www.thevoicebooth.com/rssMeshConfig.php
I get this error..
Parse error: parse error, unexpected '=', expecting ')' in /virtual/thevoicebooth.com/public_html/rssMeshConfig.php on line 15
Warning: Cannot modify header information - headers already sent by (output started at http://www.thevoicebooth.com/rssMeshConfig.php:3) in /virtual/thevoicebooth.com/public_html/rssMesh.php on line 656
A sample RSS feed template for rssMesh.php, http://www.FeedForAll.com/, by NotePage, Inc. http://www.FeedForAll.com/ http://blogs.law.harvard.edu/tech/rss en-us rssMesh.php, http://www.FeedForAll.com/, Copyright 2006, NotePage, Inc. Wed, 12 Jul 2006 10:46:19 +1200 Wed, 12 Jul 2006 10:46:19 +1200
Sorry to be such a newbie pain in the ar$e!
|
_________________
The voice Booth
New Zealand's Leading podcasting network
http://www.thevoicebooth.com
|
|

|
 |
MacSupport
Joined: 24 Feb 2005
Posts: 1370
|
Posted: Tue Jul 11, 2006 11:17 pm |

|
thevoicebooth wrote: |
Thanks for that post it was helpful... but when I try to get my xml using..
http://www.thevoicebooth.com/rssMesh.php?CONFIGFILE=http://www.thevoicebooth.com/rssMeshConfig.php
I get this error..
Parse error: parse error, unexpected '=', expecting ')' in /virtual/thevoicebooth.com/public_html/rssMeshConfig.php on line 15
Warning: Cannot modify header information - headers already sent by (output started at http://www.thevoicebooth.com/rssMeshConfig.php:3) in /virtual/thevoicebooth.com/public_html/rssMesh.php on line 656
A sample RSS feed template for rssMesh.php, http://www.FeedForAll.com/, by NotePage, Inc. http://www.FeedForAll.com/ http://blogs.law.harvard.edu/tech/rss en-us rssMesh.php, http://www.FeedForAll.com/, Copyright 2006, NotePage, Inc. Wed, 12 Jul 2006 10:46:19 +1200 Wed, 12 Jul 2006 10:46:19 +1200
Sorry to be such a newbie pain in the ar$e! |
Since it is impossible to view a config file from the web, can you post it so I can look at it, or email to
Jim
|
|
|
 
|
 |
thevoicebooth
Joined: 02 May 2006
Posts: 7
Location: Christchurch NZ
|
Posted: Wed Jul 12, 2006 1:32 am |

|
|

|
 |
MacSupport
Joined: 24 Feb 2005
Posts: 1370
|
Posted: Wed Jul 12, 2006 1:38 am |

|
|
 
|
 |
thevoicebooth
Joined: 02 May 2006
Posts: 7
Location: Christchurch NZ
|
Posted: Wed Jul 12, 2006 1:54 am |

|
But have you tried following that URL? All I get is the header info, no items!
The config file has all the correct addresses for the xml files, and they are all live. And the TEMPLATE file is working properly.
And what happens when you change $useOutputCaching to 1? Why use it for debugging?
Cheers
TobyR[/quote]
|
_________________
The voice Booth
New Zealand's Leading podcasting network
http://www.thevoicebooth.com
|
|

|
 |
damian0612
Joined: 30 Jun 2006
Posts: 75
|
Posted: Sat Jul 15, 2006 10:17 pm |

|
|

|
 |
MacSupport
Joined: 24 Feb 2005
Posts: 1370
|
Posted: Sat Jul 15, 2006 10:23 pm |

|
This produces a feed with no items. That is not a good place to start.
Jim
|
|
|
 
|
 |
damian0612
Joined: 30 Jun 2006
Posts: 75
|
Posted: Sat Jul 15, 2006 10:59 pm |

|
|

|
 |
damian0612
Joined: 30 Jun 2006
Posts: 75
|
Posted: Sun Jul 16, 2006 8:49 am |

|
been playing about with it, when I try to load the page with myconfig on it, I get this error:
Parse error: parse error, unexpected T_VARIABLE in /websites/LinuxPackage01/ma/df/or/madforsport.co.uk/public_html/rssMesh_myconfig.php on line 9 (the sortoutbypubdate line).
here is the code:
$useOutputCaching = 1;
$outputCacheTTL = 3600;
$XMLTemplate = "rssMesh_Template.xml;"
$sortOutputByPubDate = 1;
$feedList = Array(
// Entry #1
Array("fileURL" => "http://www.teamtalk.com/rss/0,16039,2483,00.xml",
"itemCount" => "4",
"feedTTL" => "3600"
)
,
// Entry #2
Array("fileURL" => "http://www.timesonline.co.uk/rssfeed/rssIndexFeed/0,,4,00.xml",
"itemCount" => "2"
)
);
?>
Is this the cause of the problem?
|
|
|

|
 |
|