|
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)
|
|
That is absolutely fantastic!!! Love it :)
Posted 89 months ago.
(permalink)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
Thanks :) Even just text links below the photos would be fine.
Posted 89 months ago.
(permalink)
|
|
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)
|
|
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)
|
|
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)
|
|
Kastner, that is fine. Thanks!
Posted 89 months ago.
(permalink)
|
|
this is so cool, I love it.
Posted 89 months ago.
(permalink)
|
|
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)
|
|
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)
|
|
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).
|