|
#1
|
||||
|
||||
|
RSS Feed Formatting Question
when i set up my feed i notice that in Sharpreader that my thumbnails display and not the actuall full size images...
http://www.lifeatf8.com/index.php?x=rss is there something that i can tweak or change in order to have the full size image load instead? ive searched the forums and didnt come across this situation so i thought id ask.. thanks look below for my new RSS Feed Formating issue... |
|
#2
|
||||
|
||||
|
I'm downloading Sharpreader right now to test it but chaning the index.php at about the line 425
Code:
$image = $cfgrow['siteurl']."thumbnails/thumb_$image"; Code:
$image = $cfgrow['siteurl']."images/$image"; UPDATE: I've changed the post right away!
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7 |
|
#3
|
||||
|
||||
|
that worked fine...
now if i can only get the text formatting and such correct... looks like the image is still right justified. heres a screen shot of what it looks like http://www.lifeatf8.com/temp/badtext.jpg |
|
#4
|
||||
|
||||
|
I didn't see the feed. sharpreader need .net framework and I dont have that version. Now i'm trying Feedreader software....
you want the image to be where? line 436 of index.php Code:
<description>&lt;img src=&quot;$image&quot; align=&quot;right&quot;&gt; $body</description> you can change it to left!
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7 |
|
#5
|
||||
|
||||
|
weird...
heres the code in the RSS feed portion of my index.php Code:
// ##########################################################################################//
// RSS 2.0 FEED
// ##########################################################################################//
if($_GET['x'] == "rss") {
pullout($cfgrow['sitetitle']);
$output = "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>
<rss version=\"2.0\">
<channel>
<title>".$cfgrow['sitetitle']."</title>
<link>".$cfgrow['siteurl']."</link>
<description>".$cfgrow['sitetitle']." photoblog</description>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<generator>pixelpost</generator>
";
$query = mysql_query("select image,id,datetime,headline,body from ".$pixelpost_db_prefix."pixelpost where (datetime<='$cdate') order by datetime desc");
while(list($image,$id,$datetime,$headline,$body) = mysql_fetch_row($query)) {
$image = $cfgrow['siteurl']."images/$image";
$headline = pullout($headline);
$body = pullout($body);
$datetime = strtotime($datetime);
$datetime = date("r",$datetime);
$body = stripslashes($body);
$body = htmlentities($body);
$body = ereg_replace("\n","&lt;br /&gt;",$body);
$output .= "
<item>
<title>$headline</title>
<link>".$cfgrow['siteurl']."?showimage=$id</link>
<description>&lt;img src=&quot;$image&quot; align=&quot;right&quot;&gt; $body</description>
<pubDate>$datetime</pubDate>
</item>
";
}
$output .= "
</channel>
</rss>";
header("Content-type:application/rss+xml");
echo $output;
exit;
}
|
|
#6
|
||||
|
||||
|
ahhh i see it now... lemme try it..
ok i got the image justified to the right but my text formatting is still messed up... im gonna look into it some more. |
|
#7
|
||||
|
||||
|
my new RSS Feed Formating issue...
i fixed it so that its left justified but my text and such is still messedu p like in the pic below... http://www.lifeatf8.com/temp/badtext.jpg |
|
#8
|
||||
|
||||
|
the rss needs a overhual, i had to rework mine...took me forever to get it working right again. It didnt like a lot of characters...and rejected changing its encoding type, had to add CDDATA to it
__________________
i should say more clever stuff |
| Post Reply |
| Thread Tools | |
|
|