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: Prices Slashed @ Best Buy http://t.co/Z16JqwKW # (14 Jan, 10:47 pm)
- Tweeted: RT @mattcutts: Dear (every staffer in Congress): the internet is making SOPA/PIPA the most toxic act you may ever see. Please advise yr ... # (14 Jan, 10:16 pm)
- Tweeted: The Mission is blowing up with cheers as the 49ers are making a mess of the Saints. # (14 Jan, 10:15 pm)
- Tweeted: Tent on a Bank. #occupy http://t.co/nES7VHnW # (14 Jan, 8:56 pm)
- Tweeted: Heading to 16th and Mission. Anyone wanna get some lunch and hang out for a bit? # (14 Jan, 8:06 pm)
- Tweeted: RT @raanan: From zdnet: "Hate SOPA and want to join the Jan. 18 blackout? There’s a WordPress plugin for that": http://t.co/Io4xYjKW # ... # (14 Jan, 7:56 pm)
- Tweeted: This weekend I'm Bambi-sitting. http://t.co/ET82eBKm # (14 Jan, 7:51 pm)
- Listened to Analog feat. Hodgy Beats, Tyler, the Creator (14 Jan, 8:08 am)
- Listened to Bonfire, Childish Gambino (14 Jan, 8:05 am)
- Listened to Cold Rain, Talib Kweli (14 Jan, 8:02 am)
- Listened to Contemplate (Produced By Syience), Wale (14 Jan, 7:59 am)
- Listened to I Remember, The Roots (14 Jan, 7:56 am)
- Listened to (Not So) Sad and Lonely, DJ Shadow (14 Jan, 7:53 am)
- Listened to Novacane, Frank Ocean (14 Jan, 7:48 am)
- Listened to The OtherSide (feat. Bilal Oliver & Greg Porn), The Roots (14 Jan, 7:43 am)
- Listened to Pretty Lil' Heart (feat. Lil Wayne), Robin Thicke (14 Jan, 7:39 am)
- Listened to The Spiteful Chant, Kendrick Lamar (14 Jan, 7:35 am)
- Tweeted: Home. Ish. (@ San Francisco International Airport (SFO) w/ 163 others) http://t.co/3aThZfHw # (14 Jan, 4:51 am)
- Tweeted: RT @raydawg88: LikeUs Network is Coming: Our team has been working on a new product for the last few months, and it’s almost ti... http: ... # (14 Jan, 4:49 am)
- Tweeted: RT @BestAt: RT @yoyoha: Dear Religion, Pics or it didn't happen. Love, Science # (13 Jan, 11:29 pm)
- Tweeted: HNL:SFO (@ Honolulu International Airport (HNL) w/ @justinshreve) http://t.co/Ml1Nsony # (13 Jan, 10:43 pm)
- Tweeted: Last morning here. Had a great run earlier, maybe a bit sad to leave. (@ Kailua Beach w/ @justinshreve @tmoorewp) http://t.co/d5zZZmgg # (13 Jan, 8:10 pm)
- Watched Almost Real: Connecting in a Wired World on hulu.com (4 Jan, 1:46 am)
- Watched Fringe - s4 | e7 - Wallflower on hulu.com (15 Dec, 6:29 am)
- Watched Fringe - s4 | e6 - And Those We Left Behind on hulu.com (15 Dec, 5:35 am)
- Bookmarked Perfect Campus Coffee Shops To Hit The Books (Or The Blogs!) - Nice list of good places for CafeWorking. (12 Dec, 5:48 pm)
- Watched Saturday Night Live - s37 | e6 - Emma Stone on hulu.com (2 Dec, 12:24 am)
- Watched Fringe - s4 | e5 - Novation on hulu.com (30 Nov, 6:51 am)
- Watched Fringe - s4 | e4 - Subject 9 on hulu.com (30 Nov, 6:27 am)
- Watched Fringe - s4 | e3 - Alone in the World on hulu.com (30 Nov, 6:26 am)






















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.