I’ve finally packaged up and released the PHP Atom API code I wrote as part of webpad. You can download it now and go crazy.
Me, Live (ish)!
- Watched America's Got Talent - s5 | e17 - Week 9, Night 2 on hulu.com (30 Jul, 3:45 am)
- Listened to Sojourn, Hilltop Hoods (30 Jul, 3:19 am)
- Listened to Take It Off, Downsyde (30 Jul, 3:15 am)
- Listened to Comin' Back for More (feat. Hunter & Mj), Downsyde (30 Jul, 3:12 am)
- Listened to Universal Mind Control, The Tongue (30 Jul, 3:06 am)
- Listened to Around the Way, Downsyde (30 Jul, 3:02 am)
- Listened to The Soul of the Beat, Hilltop Hoods (30 Jul, 2:54 am)
- Listened to Verbal Diarrhoea (feat. Layla), Downsyde (30 Jul, 2:50 am)
- Listened to Simmy And The Gravyspitter, Hilltop Hoods (30 Jul, 2:45 am)
- Listened to The Sentinel, Hilltop Hoods (30 Jul, 2:45 am)
- Listened to The Anthem, Hilltop Hoods (30 Jul, 2:39 am)
- Tweeted: RT @nacin: The 3.0.1 haiku, w/ help from @aaronjorbin @brianlayman @janewells: Three dot oh dot one/Bug fixes to make you smile/Update y ... # (29 Jul, 11:58 pm)
- Tweeted: Just gave 2 units of red blood cells: http://yfrog.com/0jb1jgj # (29 Jul, 11:54 pm)
- Tweeted: Donating blood; so should you if you can! (@ Blood Centers of the Pacific - Downtown) http://4sq.com/dCN26V # (29 Jul, 10:29 pm)
- Tweeted: RT @kellan: Did you know tomorrow is SysAdmin appreciate day? And in NYC at least @etsy is picking up the tab. http://bit.ly/dzCFsS # (29 Jul, 6:24 pm)
- Tweeted: PHP's empty() is biting me right now. # (29 Jul, 6:23 pm)
- Tweeted: There are conspiracies *everywhere* if you look hard enough. # (29 Jul, 5:31 pm)
- Watched America's Got Talent - s5 | e15 - Week 8, Night 1 on hulu.com (29 Jul, 4:50 am)
- Tweeted: RT @raanan: +1 RT @loic: something I don't miss when I'm out of the US: "hi, my name is Scott and I will be your server tonight" # (29 Jul, 12:06 am)
- Tweeted: Big high-fives to the same neighbor who woke me up again last night. Great job, champ; sleep is overrated! # (28 Jul, 4:23 pm)
- Tweeted: RT @hunterwalk: Do you use @foursquare? Ever check-in "off the grid?" 3 question survey http://bit.ly/biNFNn (Pls RT will share results) # (28 Jul, 4:14 pm)
- Tweeted: RT @StevenWalling: Those Last.fm folks have a sense of humor (check the last three lines). http://www.last.fm/robots.txt # (28 Jul, 7:01 am)
- Watched Top Shot - s1 | e7 - Trick Shot Showdown on hulu.com (28 Jul, 5:45 am)
- Watched Top Shot - s1 | e6 - Wild, Wild West on hulu.com (28 Jul, 4:19 am)
- Tweeted: RT @themattharris: Does anybody know of a Mac application which will restore the position of my application windows when I plug my exter ... # (27 Jul, 9:45 pm)
- Tweeted: Tried out FlipBoard for my iPad to see what all the fuss is about. Know I know what all the fuss is about. It's pretty awesome. # (27 Jul, 8:36 pm)
- Tweeted: RT @tferriss: "A good plan, violently executed now, is better than a perfect plan next week." - George S. Patton (via Tim Weaver) # (27 Jul, 4:12 pm)
- Tweeted: Ummm adventure and excitement? Just heard a couple of loud "aaarrrggghhh"s followed by a window being smashed onto my fire escape. # (27 Jul, 8:08 am)
- Tweeted: Got home to find power in the building is off. Is this a dream? #inception # (27 Jul, 7:42 am)
- Tweeted: Inceeeeption! (@ AMC Loews Metreon 16 w/ @timoni) http://4sq.com/2bJaWm # (27 Jul, 4:28 am)






















3 Comments
Any chance you have working copy of this? Seems that it doesn't work any longer with all the updated Atom implementations….
Thanks!
Unfortunately I don't have an updated version of this code, but the
\”basics\” of the HTTP transactions etc in there should still work
(hopefully). You'll just probably have to write a bunch of custom code
to do specifically whatever you're trying to do. The intention of this
library was really just to provide a super basic layer to make some of
the low-level stuff easier. It was never really intended to
automatically handle any specific implementation of an Atom API.
Thanks for the response Beau. Yeah, the library was seeming to not work at all, but I fiddled around with it a bit, and even though I don't have it working yet, it's getting closer. The main issue seems to be the get_feeds() function, which doesn't seem to be able to correctly parse the responses. I started to convert the RegExs in there over to use SimpleXML… If I get it working I'll let you know. I think that you're right though, that once the feed parsing is cleaned up, that all the other plumbing should *hopefully* just work.