|
|
|
|
|
|
![]() |
#1 |
You can now put whatever you want in this space :)
|
RSS2HTML-PRO anyone using it?
I’ve been playing with this script for a couple days now, what a pain.
In the documentation they show the code for an example page that is supposed to strip the image out of the description so you can place the image where ever you want. I can’t get it to work, here’s the example: <html> <head> <meta http-equiv="content-type" content="text/html;charset=utf-8"> <title>~~~FeedTitle~~~</title> </head> <body> <h1>~~~FeedTitle~~~</h1> <p>~~~FeedDescription~~~</p> <hr> <table width="100%"> ~~~BeginItemsRecord~~~ <?php // Set initial values for our variables $theImage = " "; // To ensure proper display with borders $newDescription = "~~~ItemDescription~~~"; $match = Array(); // Use regular expressions to find <img ... > if (preg_match("/<img[^>]*>/", $newDescription, $match) !== FALSE) { // Make sure it truely was a match if ((count($match) != 0) && ($match[0] != "")) { // Save the image $theImage = $match[0]; // Remove the image from the description $newDescription = str_replace($match[0], "", $newDescription); } } echo "<tr><td>$theImage</td><td>~~~ItemPubShortDate~~~ ~~~ItemPubShortTime~~~<br>"; echo "~~~ItemTitle~~~<br>"; echo "$newDescription</td></tr>"; echo "<tr><td colspan=\"2\"><hr></td></tr>"; ?> ~~~EndItemsRecord~~~ </table> </body> </html> This is what I end up with http://www.rssnobrainer.com/test3.php ![]()
__________________
How To Keep An Asshole In Suspense
I'll Tell You Later |
![]() |
![]() |
![]() |
#2 |
Oh no, I'm sweating like Roger Ebert
|
Hey TPat, throw the URL of the feed your trying to use up.
Don't have the pro version (didn't know there was one) but do use the free one and I have an idea but want to take a look at the actual feed before I say something I'd regret. |
![]() |
![]() |
![]() |
#3 |
You can now put whatever you want in this space :)
|
http://www.18eighteen.com/rss/?nats=...yOjM&HTML=true
I tried several others even tried removeing the affiliate code with no luck ![]()
__________________
How To Keep An Asshole In Suspense
I'll Tell You Later |
![]() |
![]() |
![]() |
#4 |
Oh no, I'm sweating like Roger Ebert
|
I am by no means a php pro but I think what is happening is you are trying to run two php scripts concurrently, the RSS2HTML.php script which then calls the template you posted.
I'm not sure how you escape out of one to run the other but I'll take a stab at an idea that could make me look as dumb as I really am. If I'm right you might be able to get the script to work by deleting the <?php and the closing tag ?> |
![]() |
![]() |
![]() |
#5 |
You can now put whatever you want in this space :)
|
Damn that didn't work, but it sure was worth a shot thanx Walrus
![]() I got a PM from Chimera that made my day RSS2HTML-PRO I hope you are smarter and more determined than I. If it had come in a box I would have thrown it through the window. Instead I tossed it in the virtual toilet. Chimera I'm on day 3 of not smoking been fucking with this script and on the war path and wanting to hurt or break something all day, bitched out the wife several times just because she was here, about an hour ago She went shopping, before she left in tears she reminded me that today is our wedding anniversary (This is the second time I spaced out our anniversary) and my dog that has never left my side in three years is now scarred of me and on the couch in the living room. You cracked me up on a totally fucked up day, thanx for the laugh ![]()
__________________
How To Keep An Asshole In Suspense
I'll Tell You Later |
![]() |
![]() |
![]() |
#6 |
Oh no, I'm sweating like Roger Ebert
|
Sorry I couldn't help.
I had quit smoking for about 6 months a number of years ago. The only reason I started back up was because my wife (at the time) came home one day with a pack of cigarettes and told me she couldn't take me not smoking anymore. Obviously, smoking wasn't the issue....we separated about 3 months later. Good luck on quitting! |
![]() |
![]() |
![]() |
#7 |
You can now put whatever you want in this space :)
|
Heads up
Chimera is right, RSS2HTML is great does what it's supposed to do. RSS2HTML-Pro is a half written piece of crap don't waste your money on it
__________________
How To Keep An Asshole In Suspense
I'll Tell You Later |
![]() |
![]() |
![]() |
|
|