Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2005-03-09 03:38:28
- jbitely
- New Member
- Registered: 2005-02-28
- Posts: 3
Displaying a Flickr photostream?
What’s the easiest way to call in a Flickr photostream? I tried the jab_gallery plugin but it’s pretty beta and it doesn’t look like development is continuing. Ideally I’d like to have any photos tagged with “mysite” automatically be pulled into whatever content area I define. Anybody point me in the right direction?
Offline
Re: Displaying a Flickr photostream?
Get <a href=“http://forum.textpattern.com/viewtopic.php?id=7030”>vdh_flickr</a>.
Offline
Re: Displaying a Flickr photostream?
i’d like to have something similar, too. vdh_flickr requires php5, though, which my host doesn’t currently offer. anyone have any other ideas?
Listen to Kenneth
Offline
Re: Displaying a Flickr photostream?
I don’t know a direct solution, but I’m thinking about changing the xml implementation of vdh_flickr from simplexml to dom-xml, which is available in php 4.3.x AND php5.
When I started writing this plugin, I thought most hosts already have php5 enabled. Maybe this is not the case. Tomorrow I’ll check out how much work this would be and if it’s worth trying.
Offline
Re: Displaying a Flickr photostream?
That would be really cool if you could do that.
As of now, I think that more hosts have PHP 4. Eventually, they will switch to PHP5, but some scripts might not work the same w/PHP5. TextDrive has PHP5 which a lot of people here use, but not all of them do.
bludrop studios .::. Creative Expression
Offline
Re: Displaying a Flickr photostream?
larf, you’d make my day if I could use your plugin on PHP4!
Offline
Re: Displaying a Flickr photostream?
Flickr has RSS and Atom feeds, so you can use any plugin that displays feeds. There is more than one around.
Offline
Re: Displaying a Flickr photostream?
domxml is very nice to work with, i did for a couple of weeks ago some simple tests with flickrs api and it wasnt that much work.
hope you find the time to translate your plugin larf o would realy appreciate it too.
Johan Nilsson
Offline
Offline
Re: Displaying a Flickr photostream?
I’ve searched the php.net website and found this (http://www.php.net/manual/en/ref.dom.php):
Note: This extension is no longer marked experimental. It will, however, never be released with PHP 5, and will only be distributed with PHP 4. If you need DOM XML support with PHP 5 you can use the DOM extension. This domxml extension is not compatible with the DOM extension.
It seems like I’ll have to choose whether to support php5 OR php4. But last word is not spoken yet, This evening I’ll investigate whether we can find a way…any hints concerning this are appreciated.
Offline
Re: Displaying a Flickr photostream?
I’ve just had this simple idea:
I’ll just implement a new parameter use_php4=“1” which will make vdh_flickr switch to the php 4.3.X dom-xml extension. By default, vdh_flickr will keep on using SimpleXML.
I’ve never used dom before, so don’t expect anything too soon.
Yesterday I’ve started implementing tag support, so I’ll finish that before I come to this dom thing.
I guess this is the easiest way to go, but if anyone has an other proposal, I’ll be happy to hear it.
Offline
Re: Displaying a Flickr photostream?
larf, you’re the man! Go, go, go!
Offline