Posts

Showing posts from January, 2012

XML to JSON Converter Builder

Image
Today I had the opportunity to use the xml to json converter builder for a project I'm working on and found that the documentation was a little lacking. Searching google for help netted me next to nothing so I figured it was time for a blog entry. Why is This Not Working? The key to getting this feature working is to understand that the builder on its own doesn't really do anything useful. It just provides a method that must be invoked somewhere else, some code that produces the JSON notation. The callback builder input field is text which is prepended to the output of this method. For example if I have these values with the following html in a page builder: <html>     <head><title>Default Test Page</title></head>     <body>                <script type="text/javascript">     function dumpJson(json){        cons...

Happy Birthday, Wendy Everly!

If you've read my book Switched , then you're familiar with the leading lady, Wendy Everly. And as you discover in Ascend , her birthday is January 9th. It's also the birthday of my friend Valerie, who is a real person. I just thought I should point that out since Wendy is fictional. So Switched has been out for over a week, and the response has been pretty great. I spent last week in New York doing some press, and not blogging nearly as much as I wanted to. Doing interviews is more work than it sounds. I did a great interview with NPR, which aired yesterday, and based on the replies I got, I'd say a lot of people heard it & liked it. I also did a radio interview with a BBC station, but I'm not sure when/where that will air, because I'm not nearly familiar enough with the BBC as I'd liked to be. I also taped a segment for the hit daytime talk show Anderson starring the silver fox himself, Anderson Cooper. It was pretty much the most terrifying/fun/surr...

Book Birthday!

Image
Today was the day that Switched came out in bookstores. Here are some pictures of Switched in bookstores: That's J. L Bryan's son John. David Dalglish bought a girlie book. Her husband made her the fancy shirt. Those are my cousin's kids, Leyton and Miley, standing in front of my book. That's my BFF Pete with my book at Walmart, You may recognize her as the original cover model for the first edition of Switched. So it's all come full circle. I also did a book signing in New Jersey at Barnes & Noble. Thanks to everybody who turned out! It was a fun time. That's what I look like when I sign my name at the Princeton, NJ Barnes & Noble. Now I'm in the hotel room with Eric, eating sushi and watching What's Your Number? starring Anna Faris and Chris Evans even though Eric doesn't really like Chris Evans but I do, ever since I saw Not Another Teen Movie . (Also, did you see Chris Evans in Captain America ? Him as a little guy, that was CGI, but wh...

Only One More Sleep... PLUS a Vlog

Image
I seriously wrote this entire blog on Saturday and set it up to post this morning, but it just disappeared. I'm very frustrated by this. But oh well, there's not much I can do now. I'm now writing this new blog from my hotel in New York City, where I will be doing some promo stuff for the release of Switched tomorrow, January 3rd. I'm doing a book signing tomorrow at the Barnes & Noble in Princeton, NJ at 7:00 pm, and if you're in the area, you should totally check it out. I'll also be in the USA Today tomorrow, so you should also check that out. I'm really, really excited and also mind-numbling terrified for Switched to hit bookshelves tomorrow. I can't wait to hear what people think of the new short story, "The Vittra Attacks," because nobody's read that yet. Also, if you are picking yourself up a copy of Switched tomorrow, you should totally take a picture of yourself with it in the store. (As long as it doesn't break any law...