Flickr API / Discuss

Current Discussion

Bug in flickr.tags.getListUser
Latest: 29 hours ago
How to get buddy icon using API?
Latest: 35 hours ago
nuovi commenti foto in evidenza (come su FB)
Latest: 36 hours ago
New Group APIs
Latest: 2 days ago
Searching users on the API
Latest: 4 days ago
2048 and 1600 size
Latest: 6 days ago
Null url field in oembed response
Latest: 7 days ago
flexplore
Latest: 7 days ago
Display a specific album in WebSite
Latest: 8 days ago
oEmbed doesn't provide large size URL?
Latest: 8 days ago
ObjectiveFlickr Framework 2.0 for Mac and iPhone Released
Latest: 9 days ago
Survey on Web APIs Popularity and Support Forums
Latest: 9 days ago
More...

Search this group's discussions

A quick thingie

view profile

kastner  Pro User  says:

Word maker

replace the string after /words/ with what you would like to write.

Clicking on a letter swaps it

it currently supports A-Z, 0-9, !?.+&
to view the source, go
Here

I will not keep this up long, but you are free to take the code and modify it, or host it
Posted at 6:43AM, 22 February 2005 PDT (permalink)

view photostream

Derek Lakin says:

This is really cool.

If you want someone to host it let me know, especially if you're interested in doing a .NET version!
Posted 89 months ago. (permalink)

view photostream

GraemeF says:

That is absolutely fantastic!!! Love it :)
Posted 89 months ago. (permalink)

view photostream

kastner  Pro User  says:

I've never written in .NET, but as I realized last night, I've been writing asp for close to 10 years (its been since late '96), thats a VERY VERY scary thought.

This was my first time parsing xml in php, and I didn't like it at all. So for .NET I might just use regexp, or try my hand at xml parsing *shrug*.
Posted 89 months ago. (permalink)

view photostream

mikecpeck says:

Wow! Super cool.

How do you have to setup your host to allow the /words/Whatever thing to work? I uploaded words.php into a folder and tried it on my host with no luck.

Wow.. still think it is really cool.
Posted 89 months ago. (permalink)

view photostream

Eric is a group administrator Eric  Pro User  says:

kastner, can you please provide links to the photo pages on Flickr for the photos that are displayed? It is required by our TOS (www.flickr.com/terms.gne) "The Flickr service makes it possible to post images hosted on Flickr to outside websites. This use is accepted (and even encouraged!). However, pages on other websites which display images hosted on flickr.com must provide a link back to Flickr from each photo to its photo page on Flickr."

Great app, btw!
Posted 89 months ago. (permalink)

view photostream

kastner  Pro User  says:

Sorry about that - you need the following in .htaccess:
RewriteEngine on
RewriteRule ^words/(.*)$ /words.php?string=$1

update:
fixed a bug at line 37
if you don't use mod_rewrite, you can just call it like this
words.php?whatever!
or
words?whatever

enjoy
Posted 89 months ago. (permalink)

view photostream

kastner  Pro User  says:

Eric: I had them linked before, and only took them off to do the javascript swaping...
I was trying to reconcile this in the shower this morning...
thanks for the heads-up about the tos, I'll figure out something shortly!
Posted 89 months ago. (permalink)

view photostream

Eric is a group administrator Eric  Pro User  says:

Thanks :) Even just text links below the photos would be fine.
Posted 89 months ago. (permalink)

view photostream

pberry  Pro User  says:

Was the manual xml parsing due to the php3/4/5 xml mess? I'm looking at porting my first hack to PHP so that I can use Smarty for caching. But looking at all the ways to do xml parsing in PHP in the various versions is starting to frustrate me.
Posted 89 months ago. (permalink)

view photostream

kastner  Pro User  says:

Update:
The script is fixed, it now has support for IE (might have before, didn't check)
and complies (I think - Eric?) with the TOS.
Posted 89 months ago. (permalink)

view photostream

kastner  Pro User  says:

pberry - I'm not sure. I just went with the documentation for php4, and this is what I found the most simply way to parse it (aside from regexps - which my perl flickr scripts are using).
I wanted something like xpath without using PEAR, so I went with the sax
Posted 89 months ago. (permalink)

view photostream

Eric is a group administrator Eric  Pro User  says:

Kastner, that is fine. Thanks!
Posted 89 months ago. (permalink)

view photostream

Sam Judson is a group moderator Sam Judson  Pro User  says:

this is so cool, I love it.
Posted 89 months ago. (permalink)

view photostream

zeman  Pro User  says:

minixml is fantastic for simple php xml parsing. I use it with cache_lite for caching on the flickr world map.

I'll post some example scripts later.
Posted 88 months ago. (permalink)

view photostream

kastner  Pro User  says:

zenman, I wish I had looked at this before I hacked on my project for an hour this morning!

Eric: I changed the way the link-back works, I think its a good balance, but I just wanted to run it by you.

I also added a posting form if you go to metaatem.net/words

And I added rudimentary caching.
Posted 88 months ago. (permalink)

view photostream

hendriko  Pro User  says:

Very cool.
Posted 88 months ago. (permalink)

Would you like to comment?

Sign up for a free account, or sign in (if you're already a member).

RSS 2.0 feedSubscribe to a feed of stuff on this page...</!!> Feed – Subscribe to Flickr API discussion threads