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)!
- Tweeted: RT @iamdevloper: You’re switching to Ruby from PHP why!? See you in 2 weeks when the honeymoon’s over. # (17 May, 7:31 am)
- Listened to Undercover Martyn, Two Door Cinema Club (17 May, 7:02 am)
- Listened to Undercover Martyn, Two Door Cinema Club (17 May, 7:00 am)
- Tweeted: Wow. Either an argument or a break-up going on in my building, and the woman involved is screaming like a banshee. And crying. And cussing. # (17 May, 6:35 am)
- Tweeted: .@path keeps logging me out of the app for some reason. Sad. # (17 May, 5:02 am)
- Listened to That Beep, Architecture in Helsinki (17 May, 4:43 am)
- Listened to Not In Love (Radio Version) [feat. Robert Smith], Crystal Castles (17 May, 4:39 am)
- Listened to Blink And You'll Miss A Revolution, Cut Copy (17 May, 4:35 am)
- Listened to Punching In A Dream, The Naked and Famous (17 May, 4:31 am)
- Listened to Summersun, Miami Horror (17 May, 4:12 am)
- Listened to Ultraviolet (ft Alan Palomo), Miami Horror (17 May, 4:06 am)
- Listened to Grand Illusion, Miami Horror (17 May, 4:02 am)
- Listened to I Look to You, Miami Horror (17 May, 4:00 am)
- Tweeted: RT @dotevan: OH: "You need to copy and paste your attitude to /dev/null, bro." # (17 May, 2:08 am)
- Bookmarked Open Graph Parser - A PHP library based on an RDFa parser, for parsing Open Graph tags out of a webpage/string. (17 May, 1:41 am)
- Tweeted: Fog City (at True Ventures) [pic] — http://t.co/E7S9vSLZ # (17 May, 1:32 am)
- Tweeted: Pro (Mac) Tip: Save text from a web page as a .txt file (copy-paste), then in Terminal type "cat FILENAME.txt | say". Boom, "podcast". # (17 May, 1:16 am)
- Tweeted: RT @teacup: I'd be happy for everyone to learn to code once they've learnt the basic, and more crucial, judicial reasoning that underpin ... # (16 May, 11:46 pm)
- Tweeted: At True Ventures [pic] — http://t.co/Rm2iAvpE # (16 May, 6:38 pm)
- Tweeted: Just trying out the camera in here. Nice UI. [pic] — http://t.co/LjVFkDTE # (16 May, 6:17 pm)
- Tweeted: RT @tferriss: Just pledged on Kickstarter -- Forage Kitchen by Iso Rabins: http://t.co/0vlerWPX If you're near SF, so should you. # (16 May, 6:36 am)
- Tweeted: Follow-up from previous post, in blog form: http://t.co/o2HsH1Hh # (15 May, 7:25 am)
- Tweeted: That was fun. Dude was *definitely* lining me up to try jumping me. Unfortunately for him I out-walked him. # (15 May, 6:59 am)
- Tweeted: Stalking someone to snag a better table to work from at a cafe... # (14 May, 6:27 pm)
- Tweeted: RT @wordpressdotcom: Photo Blogging 101, Part 1 http://t.co/47fHBkCl # (14 May, 4:18 pm)
- Tweeted: RT @JJJ: Querying Posts Without query_posts() - http://t.co/EGzH9tjV /via @wordpressdotcom # (14 May, 7:12 am)
- Tweeted: I'm learning Python the hard way. http://t.co/fbtQu6QM # (14 May, 7:12 am)
- Tweeted: Just watched "Attack The Block". Pretty damned good fun. # (14 May, 6:46 am)
- Bookmarked OSXNotes - Brilliant set of CLI commands and keyboard shortcuts etc for Mac OSX (10 May, 6:24 pm)
- Bookmarked Mom’s Apple Cake - Recipe for a delicious-looking apple/cinnamon cake. (30 Apr, 4:27 pm)






















4 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.
hi
i am passing the correct username and password in the parameter but still its giving error:
Authentication against the AtomAPI endpoint failed. Please check your username/password.
so whats the solution of this.