Greenguy's Board


Go Back   Greenguy's Board > Blogs and Blogging
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2007-04-01, 02:07 PM   #1
T Pat
You can now put whatever you want in this space :)
 
T Pat's Avatar
 
Join Date: Aug 2003
Location: Paridise
Posts: 3,244
Send a message via ICQ to T Pat
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 = "&nbsp;"; // 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
HELP!
__________________
How To Keep An Asshole In Suspense

I'll Tell You Later
T Pat is offline   Reply With Quote
Old 2007-04-01, 03:31 PM   #2
walrus
Oh no, I'm sweating like Roger Ebert
 
walrus's Avatar
 
Join Date: May 2005
Location: Los Angeles
Posts: 1,773
Send a message via ICQ to walrus Send a message via Yahoo to walrus
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.
__________________
Naked Girlfriend Porn TGP
free partner account
walrus is offline   Reply With Quote
Old 2007-04-01, 05:29 PM   #3
T Pat
You can now put whatever you want in this space :)
 
T Pat's Avatar
 
Join Date: Aug 2003
Location: Paridise
Posts: 3,244
Send a message via ICQ to T Pat
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
T Pat is offline   Reply With Quote
Old 2007-04-01, 06:40 PM   #4
walrus
Oh no, I'm sweating like Roger Ebert
 
walrus's Avatar
 
Join Date: May 2005
Location: Los Angeles
Posts: 1,773
Send a message via ICQ to walrus Send a message via Yahoo to walrus
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 ?>
__________________
Naked Girlfriend Porn TGP
free partner account
walrus is offline   Reply With Quote
Old 2007-04-01, 07:54 PM   #5
T Pat
You can now put whatever you want in this space :)
 
T Pat's Avatar
 
Join Date: Aug 2003
Location: Paridise
Posts: 3,244
Send a message via ICQ to T Pat
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
T Pat is offline   Reply With Quote
Old 2007-04-01, 09:41 PM   #6
walrus
Oh no, I'm sweating like Roger Ebert
 
walrus's Avatar
 
Join Date: May 2005
Location: Los Angeles
Posts: 1,773
Send a message via ICQ to walrus Send a message via Yahoo to walrus
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!
__________________
Naked Girlfriend Porn TGP
free partner account
walrus is offline   Reply With Quote
Old 2007-04-02, 10:39 AM   #7
T Pat
You can now put whatever you want in this space :)
 
T Pat's Avatar
 
Join Date: Aug 2003
Location: Paridise
Posts: 3,244
Send a message via ICQ to T Pat
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
T Pat is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:48 PM.


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