Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   Blogs and Blogging (http://www.greenguysboard.com/board/forumdisplay.php?f=8)
-   -   RSS2HTML-PRO anyone using it? (http://www.greenguysboard.com/board/showthread.php?t=39380)

T Pat 2007-04-01 02:07 PM

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:



~~~FeedTitle~~~


~~~FeedTitle~~~


~~~FeedDescription~~~





~~~BeginItemsRecord~~~
// Set initial values for our variables
$theImage = " "; // To ensure proper display with borders
$newDescription = "~~~ItemDescription~~~";
$match = Array();

// Use regular expressions to find
if (preg_match("/]*>/", $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 "
";
echo "";
?>
~~~EndItemsRecord~~~
$theImage~~~ItemPubShortDate~~~ ~~~ItemPubShortTime~~~
";
echo "~~~ItemTitle~~~
";
echo "$newDescription





This is what I end up with
http://www.rssnobrainer.com/test3.php
|huh HELP!

walrus 2007-04-01 03:31 PM

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.

T Pat 2007-04-01 05:29 PM

http://www.18eighteen.com/rss/?nats=...yOjM&HTML=true

I tried several others even tried removeing the affiliate code with no luck |banghead|

walrus 2007-04-01 06:40 PM

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

T Pat 2007-04-01 07:54 PM

Damn that didn't work, but it sure was worth a shot thanx Walrus|thumb

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 |jester|

walrus 2007-04-01 09:41 PM

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!

T Pat 2007-04-02 10:39 AM

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


All times are GMT -4. The time now is 07:19 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc