Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > SUPPORT / INFORMATION > Pixelpost Help

Post Reply
 
Thread Tools
  #1  
Old 02-18-2005, 05:51 PM
abel's Avatar
abel Offline
pp regular
 
Join Date: Nov 2004
Posts: 33
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...
Reply With Quote
  #2  
Old 02-18-2005, 08:21 PM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
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";
to
Code:
    $image = $cfgrow['siteurl']."images/$image";
would do it.

UPDATE: I've changed the post right away!
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #3  
Old 02-18-2005, 08:51 PM
abel's Avatar
abel Offline
pp regular
 
Join Date: Nov 2004
Posts: 33
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
Reply With Quote
  #4  
Old 02-18-2005, 09:18 PM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
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><img src="$image" align="right"> $body</description>
this says align="right"
you can change it to left!
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #5  
Old 02-19-2005, 03:24 AM
abel's Avatar
abel Offline
pp regular
 
Join Date: Nov 2004
Posts: 33
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","<br />",$body);
        $output .= "
        <item>
        <title>$headline</title>
        <link>".$cfgrow['siteurl']."?showimage=$id</link>
        <description><img src="$image" align="right"> $body</description>
        <pubDate>$datetime</pubDate>
        </item>
        ";
        }
    $output .= "
        </channel>
        </rss>";
    header("Content-type:application/rss+xml");
    echo $output;
    exit;
    }
lemme know what u think...
Reply With Quote
  #6  
Old 02-19-2005, 03:29 AM
abel's Avatar
abel Offline
pp regular
 
Join Date: Nov 2004
Posts: 33
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.
Reply With Quote
  #7  
Old 02-21-2005, 04:31 PM
abel's Avatar
abel Offline
pp regular
 
Join Date: Nov 2004
Posts: 33
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
Reply With Quote
  #8  
Old 02-22-2005, 03:27 AM
blinking8s's Avatar
blinking8s+ Offline
über loafer
 
Join Date: Oct 2004
Location: Bowling Green, Ky
Posts: 3,428
Send a message via ICQ to blinking8s Send a message via AIM to blinking8s Send a message via MSN to blinking8s Send a message via Skype™ to blinking8s
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
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 09:58 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs