Member
Member
koury   2008-04-09, 16:11
#1

We currently are using Magpie for most of our other RSS feeds that we have on our sites, but for some reason I don't know how to display just the image...

I want to display the title of the file and the image. Heres what I have so far.

Administrator
Administrator
acrylian   2008-04-09, 16:25
#2

I don't know or ever used Magpie. Is that to display the feed on a page directly? Well, in that case it seems to work in Safari 3.1, I see the player name and below the photo, but Firefox gives this error you probably know:
[i]Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ';' in /Volumes/Zeus2/WebServer/photo_rss/index.php on line 14[/i]

Member
Member
koury   2008-04-09, 16:30
#3

I got it to work now. However with :

But when I click the links (so it will take me to the zenphoto page) it breaks after and space thats in the file name.
For example if I click "Brian Mohr" it takes me to http://calyou.cup.edu/test/zenphoto/index.php?album=Team_and_Head_shots/Players&image=Brian
instead of http://calyou.cup.edu/test/zenphoto/index.php?album=Team_and_Head_shots/Players&image=Brian%20Mohr.JPG

It does the same thing with " + "s as well.

Any tips will be appreciated.

Member
Member
AlexWilson   2008-04-09, 18:54
#4

try something like

$href = urlencode($item['link']);

and make sure the a tag attributes are in quotes, e.g. href=... is href="..."

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.