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)!
- Listened to Good for Great, Matt & Kim (18 May, 4:26 am)
- Listened to Strange Nostalgia For The Future, Cut Copy (18 May, 4:23 am)
- Listened to Imagination, Miami Horror (18 May, 4:20 am)
- Listened to Undertow, Warpaint (18 May, 4:15 am)
- Tweeted: RT @Mike_FTW: Be prouder of the things you make than the checks you cash. # (18 May, 4:15 am)
- Listened to You're Not Stubborn, Two Door Cinema Club (18 May, 4:09 am)
- Listened to From the Sea, Eskimo Joe (18 May, 4:06 am)
- Listened to The Sun, The Naked and Famous (18 May, 4:03 am)
- Listened to Berlin Chair, You Am I (18 May, 3:59 am)
- Listened to Clap Your Hands, Sia (18 May, 3:56 am)
- Listened to You Wanted A Hit, LCD Soundsystem (18 May, 3:52 am)
- Tweeted: BOOM! Just got my second flight fare change/refund thanks to @TripIt! #winning # (18 May, 12:39 am)
- Tweeted: RT @seanbonner: It's almost embarrassing that we haven't figured out global citizenship yet. "countries" seems like such an old, out of ... # (18 May, 12:15 am)
- Tweeted: RT @famfarms: Jamie Oliver's Food Revolution comes to the Ferry Plaza Market THIS Saturday 5/19! Don't miss it! @CUESA http://t.co/d ... # (17 May, 11:07 pm)
- Tweeted: This looks awesome, someone please tell me there's a US version? http://t.co/qjaqe10E # (17 May, 11:06 pm)
- Tweeted: Who's the minority now? http://t.co/p6pbkPAW # (17 May, 8:28 pm)
- Tweeted: RT @mm: "Can I have some of your Apple juice?" "my what?" "your MacBook charger. . ." # (17 May, 7:56 pm)
- Tweeted: *Every single* time I load VirtualBox, there's an update available. # (17 May, 7:25 pm)
- Tweeted: The "border-radius" on a McBook Air trackpad is exactly the same as on a credit card. # (17 May, 7:03 pm)
- 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)
- 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)
- 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)
- 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)
- Bookmarked BrooklynVegan - Music, events, photos and more from things going on in Brooklyn. (24 Apr, 9:41 pm)
- Bookmarked Celebrate Brooklyn! - Live music, film etc going on at the bandshell in Prospect Park (24 Apr, 9:41 pm)
- Bookmarked Grillcube - Brilliantly designed box of charcoal with an integrated charcoal-heating process. Light it, stick it on a BBQ, and in 10 minutes you're ready to cook. No accelerants required. (24 Apr, 9:10 pm)
- Bookmarked PonyEdit - Remote file editor (over SSH/SFTP) with reduced lag etc. Targeted at people who mostly work on files on remote servers. (16 Apr, 7:49 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.