Skip to content

Instantly share code, notes, and snippets.

@seancron
Created June 5, 2011 19:27
Show Gist options
  • Save seancron/1009304 to your computer and use it in GitHub Desktop.
Save seancron/1009304 to your computer and use it in GitHub Desktop.
forsst jsonp response
function jsonp1307301925524({"resp":{"posts":[{"id":86549,"tiny_id":"Yrk","post_type":"question","post_url":"http:\/\/forrst.com\/posts\/A_curiosity_MVC_what_do_you_think_of_it_do_yo-Yrk","created_at":"2011-06-05 19:11:47","updated_at":"2011-06-05 19:11:47","user":{"id":17542,"username":"Crassiusneo","name":"Ramsez Stamper","url":"http:\/\/forrst.com\/people\/Crassiusneo","posts":"34","comments":"614","likes":"36","followers":"61","following":"19","photos":{"xl_url":"http:\/\/forrst-production.s3.amazonaws.com\/users\/photos\/17542\/xl.png?1289429013","large_url":"http:\/\/forrst-production.s3.amazonaws.com\/users\/photos\/17542\/large.png?1289429013","medium_url":"http:\/\/forrst-production.s3.amazonaws.com\/users\/photos\/17542\/medium.png?1289429013","small_url":"http:\/\/forrst-production.s3.amazonaws.com\/users\/photos\/17542\/small.png?1289429013","thumb_url":"http:\/\/forrst-production.s3.amazonaws.com\/users\/photos\/17542\/thumb.png?1289429013"},"bio":"\n<p>I'm a web developer specializing in PHP (with MySQL), Jquery\n(also old school JavaScript), CSS, HTML, XML. Started teaching\nmyself to code back in 2005, still learning new things every\nday.<\/p>\n\n","is_a":"developer","homepage_url":"http:\/\/www.surefiresource.com","twitter":"crassiusneo","in_directory":true,"tag_string":"php,html,css,xml,mysql,javascript,jquery,project management,debugging"},"published":true,"public":true,"title":"A curiosity: MVC, what do you think of it, do you use it, or do you avoid it? please elaborate.","url":"","content":"Model-View-Controllers often get hyped a lot and yet I've personally never liked them, because if you are new to a system using the MVC and you have to modify something in it, unless it's been structured extremely cleanly (which most are not), it is a ton of work to find anything in there. I'd much rather have templates, with sub page files each with its own contents rather than MVC modules, but this is my preference. I'm curious to see what you guys think and why.\r\nThanks.","description":"","formatted_content":"\n<p>Model-View-Controllers often get hyped a lot and yet I've\npersonally never liked them, because if you are new to a system\nusing the MVC and you have to modify something in it, unless it's\nbeen structured extremely cleanly (which most are not), it is a ton\nof work to find anything in there. I'd much rather have templates,\nwith sub page files each with its own contents rather than MVC\nmodules, but this is my preference. I'm curious to see what you\nguys think and why. Thanks.<\/p>\n\n","formatted_description":"\n\n","like_count":"0","comment_count":"0","tag_string":"MVC,Model View Controller","tags":["model view controller","mvc"]},{"id":86548,"tiny_id":"YrW","post_type":"snap","post_url":"http:\/\/forrst.com\/posts\/Nintendo_Wii-YrW","created_at":"2011-06-05 19:07:07","updated_at":"2011-06-05 19:07:07","user":{"id":14739,"username":"maxsteenbergen","name":"Max Steenbergen","url":"http:\/\/forrst.com\/people\/maxsteenbergen","posts":"36","comments":"15","likes":"1","followers":"61","following":"20","photos":{"xl_url":"http:\/\/forrst-production.s3.amazonaws.com\/users\/photos\/14739\/xl.png?1290118268","large_url":"http:\/\/forrst-production.s3.amazonaws.com\/users\/photos\/14739\/large.png?1290118268","medium_url":"http:\/\/forrst-production.s3.amazonaws.com\/users\/photos\/14739\/medium.png?1290118268","small_url":"http:\/\/forrst-production.s3.amazonaws.com\/users\/photos\/14739\/small.png?1290118268","thumb_url":"http:\/\/forrst-production.s3.amazonaws.com\/users\/photos\/14739\/thumb.png?1290118268"},"bio":"\n<p>Graphic &amp; Interface designer with a taste for usable\nawesomeness<\/p>\n\n","is_a":"designer","homepage_url":"http:\/\/maxsteenbergen.com","twitter":"maxsteenbergen","in_directory":false,"tag_string":""},"published":true,"public":true,"title":"Nintendo Wii","url":"","content":"","description":"Nintendo's latest console, but for how long?","formatted_content":"\n\n","formatted_description":"\n<p>Nintendo's latest console, but for how long?<\/p>\n\n","like_count":"3","comment_count":"0","tag_string":"nintendo,wii,icon,128px,console","tags":["128px","console","icon","nintendo","wii"],"snaps":{"mega_url":"http:\/\/forrst-production.s3.amazonaws.com\/posts\/snaps\/86548\/mega.png?1307300827","keith_url":"http:\/\/forrst-production.s3.amazonaws.com\/posts\/snaps\/86548\/keith.png?1307300827","large_url":"http:\/\/forrst-production.s3.amazonaws.com\/posts\/snaps\/86548\/large.png?1307300827","medium_url":"http:\/\/forrst-production.s3.amazonaws.com\/posts\/snaps\/86548\/medium.png?1307300827","small_url":"http:\/\/forrst-production.s3.amazonaws.com\/posts\/snaps\/86548\/small.png?1307300827","thumb_url":"http:\/\/forrst-production.s3.amazonaws.com\/posts\/snaps\/86548\/thumb.png?1307300827","original_url":"http:\/\/forrst-production.s3.amazonaws.com\/posts\/snaps\/86548\/original.png?1307300827"}},{"id":86545,"tiny_id":"Yro","post_type":"snap","post_url":"http:\/\/forrst.com\/posts\/Minifolio-Yro","created_at":"2011-06-05 18:45:41","updated_at":"2011-06-05 18:45:41","user":{"id":6657,"username":"UmarIrshad","name":"Umar Irshad","url":"http:\/\/forrst.com\/people\/UmarIrshad","posts":"35","comments":"118","likes":"1129","followers":"256","following":"156","photos":{"xl_url":"http:\/\/forrst-production.s3.amazonaws.com\/users\/photos\/6657\/xl.jpg?1294255100","large_url":"http:\/\/forrst-production.s3.amazonaws.com\/users\/photos\/6657\/large.jpg?1294255100","medium_url":"http:\/\/forrst-production.s3.amazonaws.com\/users\/photos\/6657\/medium.jpg?1294255100","small_url":"http:\/\/forrst-production.s3.amazonaws.com\/users\/photos\/6657\/small.jpg?1294255100","thumb_url":"http:\/\/forrst-production.s3.amazonaws.com\/users\/photos\/6657\/thumb.jpg?1294255100"},"bio":"\n<p>Icon, UI and Web Designer<\/p>\n\n","is_a":"designer","homepage_url":"http:\/\/umarirshad.me\/","twitter":"UmarIrshad","in_directory":false,"tag_string":""},"published":true,"public":true,"title":"Minifolio","url":"http:\/\/umarirshad.me\/","content":"","description":"Was bore earlier this week so I made myself this minifolio. Thanks to Shahzad Khan for coding, go check his work out ;) http:\/\/dribbble.com\/dehog\r\n\r\nLink Below","formatted_content":"\n\n","formatted_description":"\n<p>Was bore earlier this week so I made myself this minifolio.\nThanks to Shahzad Khan for coding, go check his work out ;)\n<a href=\"http:\/\/dribbble.com\/dehog\" target=\"_blank\" rel=\n\"nofollow\">dribbble.com\/\u2026<\/a><\/p>\n<p>Link Below<\/p>\n\n","like_count":"5","comment_count":"1","tag_string":"webdesign,dark,minifolio,portfolio,icon designer","tags":["dark","icon designer","minifolio","portfolio","webdesign"],"snaps":{"mega_url":"http:\/\/forrst-production.s3.amazonaws.com\/posts\/snaps\/86545\/mega.jpg?1307299541","keith_url":"http:\/\/forrst-production.s3.amazonaws.com\/posts\/snaps\/86545\/keith.jpg?1307299541","large_url":"http:\/\/forrst-production.s3.amazonaws.com\/posts\/snaps\/86545\/large.jpg?1307299541","medium_url":"http:\/\/forrst-production.s3.amazonaws.com\/posts\/snaps\/86545\/medium.jpg?1307299541","small_url":"http:\/\/forrst-production.s3.amazonaws.com\/posts\/snaps\/86545\/small.jpg?1307299541","thumb_url":"http:\/\/forrst-production.s3.amazonaws.com\/posts\/snaps\/86545\/thumb.jpg?1307299541","original_url":"http:\/\/forrst-production.s3.amazonaws.com\/posts\/snaps\/86545\/original.jpg?1307299541"}},{"id":86543,"tiny_id":"YrQ","post_type":"question","post_url":"http:\/\/forrst.com\/posts\/Amazing_Front_End_Wordpress_Developers-YrQ","created_at":"2011-06-05 18:41:59","updated_at":"2011-06-05 18:43:25","user":{"id":27718,"username":"alexscott","name":"alexscott","url":"http:\/\/forrst.com\/people\/alexscott","posts":"1","comments":"1","likes":"0","followers":"1","following":"1","photos":{"xl_url":"http:\/\/www.gravatar.com\/avatar\/3f8fd7377a96ce77f0063382ad588300.jpg?s=200&d=http:\/\/forrst.com\/assets\/images\/default_200.jpg","large_url":"http:\/\/www.gravatar.com\/avatar\/3f8fd7377a96ce77f0063382ad588300.jpg?s=150&d=http:\/\/forrst.com\/assets\/images\/default_150.jpg","medium_url":"http:\/\/www.gravatar.com\/avatar\/3f8fd7377a96ce77f0063382ad588300.jpg?s=75&d=http:\/\/forrst.com\/assets\/images\/default_75.jpg","small_url":"http:\/\/www.gravatar.com\/avatar\/3f8fd7377a96ce77f0063382ad588300.jpg?s=45&d=http:\/\/forrst.com\/assets\/images\/default_45.jpg","thumb_url":"http:\/\/www.gravatar.com\/avatar\/3f8fd7377a96ce77f0063382ad588300.jpg?s=25&d=http:\/\/forrst.com\/assets\/images\/default_25.jpg"},"bio":"\n\n","is_a":"person","homepage_url":"","twitter":"","in_directory":false,"tag_string":""},"published":true,"public":true,"title":"Amazing Front End & Wordpress Developers?","url":"","content":"I'm looking for a great front end (CSS\/HTML) & Wordpress developer to partner with me on a couple of themes I have in the bank. I'd like to get the project started as soon as possible, (i.e within the next week or so) with someone that's online a lot, through Skype or something similar, so we can work iteratively and get things moving along smoothly. \r\n\r\nI'm looking to work on the basis of a 50\/50 revenue split with a developer, if you're interested, take a look at my portfolio (www.behance.net\/alexscott) shoot me an email with a link to your work at alexscott[.]nanophite[@]gmail[.]com.(or reply here) I'll send over a couple of screenshots of the themes and we can get talking from there. \r\n\r\nThanks a lot, all replies are appreciated.\r\n\r\nAlex","description":"","formatted_content":"\n<p>I'm looking for a great front end (CSS\/HTML) &amp; Wordpress\ndeveloper to partner with me on a couple of themes I have in the\nbank. I'd like to get the project started as soon as possible, (i.e\nwithin the next week or so) with someone that's online a lot,\nthrough Skype or something similar, so we can work iteratively and\nget things moving along smoothly.<\/p>\n<p>I'm looking to work on the basis of a 50\/50 revenue split with a\ndeveloper, if you're interested, take a look at my portfolio\n(<a href=\"http:\/\/www.behance.net\/alexscott\" target=\"_blank\" rel=\n\"nofollow\">behance.net\/\u2026<\/a>) shoot me an email with a link to your\nwork at alexscott[.]nanophite[@]gmail[.]com.(or reply here) I'll\nsend over a couple of screenshots of the themes and we can get\ntalking from there.<\/p>\n<p>Thanks a lot, all replies are appreciated.<\/p>\n<p>Alex<\/p>\n\n","formatted_description":"\n\n","like_count":"1","comment_count":"2","tag_string":"developer,needed,css\/html,wordpress","tags":["css\/html","developer","needed","wordpress"]},{"id":86541,"tiny_id":"Yr8","post_type":"link","post_url":"http:\/\/forrst.com\/posts\/ForrstKit_An_Objective_C_Wrapper_for_the_Forrst-Yr8","created_at":"2011-06-05 18:30:16","updated_at":"2011-06-05 18:41:47","user":{"id":2238,"username":"jtkendall","name":"Josh Kendall","url":"http:\/\/forrst.com\/people\/jtkendall","posts":"36","comments":"64","likes":"140","followers":"64","following":"42","photos":{"xl_url":"http:\/\/forrst-production.s3.amazonaws.com\/users\/photos\/2238\/xl.jpg?1302536610","large_url":"http:\/\/forrst-production.s3.amazonaws.com\/users\/photos\/2238\/large.jpg?1302536610","medium_url":"http:\/\/forrst-production.s3.amazonaws.com\/users\/photos\/2238\/medium.jpg?1302536610","small_url":"http:\/\/forrst-production.s3.amazonaws.com\/users\/photos\/2238\/small.jpg?1302536610","thumb_url":"http:\/\/forrst-production.s3.amazonaws.com\/users\/photos\/2238\/thumb.jpg?1302536610"},"bio":"\n<p>Freelance developer writing PHP, Ruby, Java and Objective-C.\nExperience with Rails, Sinatra and CodeIgniter.<\/p>\n\n","is_a":"developer","homepage_url":"http:\/\/joshuakendall.com","twitter":"jtkendall","in_directory":true,"tag_string":"Rails,PHP,Objective-C,Sinatra,Ruby,iOS"},"published":true,"public":true,"title":"ForrstKit: An Objective-C Wrapper for the Forrst API","url":"https:\/\/github.com\/jtkendall\/ForrstKit","content":"","description":"I spent a little bit of time this morning creating a simple Objective-C wrapper for the Forrst API using the JSON-Framework and ASIHTTPRequest. It uses NSNotificationCenter to handle data instead of returning it. All current API methods except users\/auth are implemented since it's currently disabled, I did include the post\/comments methods though they require authentication.\r\n\r\nI know there has been mention from some people about building Forrst apps for iOS, so hopefully this is helpful to them and others.","formatted_content":"\n\n","formatted_description":"\n<p>I spent a little bit of time this morning creating a simple\nObjective-C wrapper for the Forrst API using the JSON-Framework and\nASIHTTPRequest. It uses NSNotificationCenter to handle data instead\nof returning it. All current API methods except users\/auth are\nimplemented since it's currently disabled, I did include the\npost\/comments methods though they require authentication.<\/p>\n<p>I know there has been mention from some people about building\nForrst apps for iOS, so hopefully this is helpful to them and\nothers.<\/p>\n\n","like_count":"3","comment_count":"0","tag_string":"ForrstKit,Objective-C,iOS,JSON,ASIHTTPRequest,API,Wrapper,NSNotificationCenter","tags":["api","asihttprequest","forrstkit","ios","json","nsnotificationcenter","objective-c","wrapper"]},{"id":86540,"tiny_id":"YrA","post_type":"question","post_url":"http:\/\/forrst.com\/posts\/who_has_experience_with_CorelDRAW-YrA","created_at":"2011-06-05 18:27:43","updated_at":"2011-06-05 18:27:43","user":{"id":25675,"username":"ericandrewscott","name":"Eric Scott","url":"http:\/\/forrst.com\/people\/ericandrewscott","posts":"4","comments":"54","likes":"11","followers":"5","following":"13","photos":{"xl_url":"http:\/\/www.gravatar.com\/avatar\/e1f11afdfe8b07ec99098f25f463eba7.jpg?s=200&d=http:\/\/forrst.com\/assets\/images\/default_200.jpg","large_url":"http:\/\/www.gravatar.com\/avatar\/e1f11afdfe8b07ec99098f25f463eba7.jpg?s=150&d=http:\/\/forrst.com\/assets\/images\/default_150.jpg","medium_url":"http:\/\/www.gravatar.com\/avatar\/e1f11afdfe8b07ec99098f25f463eba7.jpg?s=75&d=http:\/\/forrst.com\/assets\/images\/default_75.jpg","small_url":"http:\/\/www.gravatar.com\/avatar\/e1f11afdfe8b07ec99098f25f463eba7.jpg?s=45&d=http:\/\/forrst.com\/assets\/images\/default_45.jpg","thumb_url":"http:\/\/www.gravatar.com\/avatar\/e1f11afdfe8b07ec99098f25f463eba7.jpg?s=25&d=http:\/\/forrst.com\/assets\/images\/default_25.jpg"},"bio":"\n<p>I'm early on in my 3rd decade of life. I live with my wonderful\nwife, Lindsey. We have a bun in the oven and a dog named Tim. I\nlisten to some loud and heavy music, and some ambient and relaxing\nmusic. I also have a compulsion to make lists of things I collect,\nlike screenprinted posters, vinyl, comic books, etc. I like jumping\noff of tall things into water. I used to be in bands and toured a\nlot, but it's been a while. In general, I enjoy life. I'm\nconstantly finding new hobbies and soaking up knowledge and\ntrivia.<\/p>\n\n","is_a":"developer & designer","homepage_url":"http:\/\/www.ericandrewscott.com","twitter":"ericandrewscott","in_directory":false,"tag_string":""},"published":true,"public":true,"title":"who has experience with CorelDRAW?","url":"","content":"I have a project in the pipeline where the client might need to a plugin to their webstore which utilizes CorelDRAW templating, and I literally know nothing about it. I think that they currently use Photoshop and possibly InDesign. Does anybody have any experience with it, and should I warn the clients about a huge learning curve, or are the principles the same?","description":"","formatted_content":"\n<p>I have a project in the pipeline where the client might need to\na plugin to their webstore which utilizes CorelDRAW templating, and\nI literally know nothing about it. I think that they currently use\nPhotoshop and possibly InDesign. Does anybody have any experience\nwith it, and should I warn the clients about a huge learning curve,\nor are the principles the same?<\/p>\n\n","formatted_description":"\n\n","like_count":"0","comment_count":"5","tag_string":"coreldraw,plugin,magento,corel","tags":["corel","coreldraw","magento","plugin"]},{"id":86539,"tiny_id":"Yrq","post_type":"code","post_url":"http:\/\/forrst.com\/posts\/Random_Forrst_Post_Python-Yrq","created_at":"2011-06-05 18:23:14","updated_at":"2011-06-05 18:30:54","user":{"id":21991,"username":"Nathaniel","name":"Nathaniel Higgins","url":"http:\/\/forrst.com\/people\/Nathaniel","posts":"56","comments":"345","likes":"222","followers":"51","following":"35","photos":{"xl_url":"http:\/\/www.gravatar.com\/avatar\/5bac0727f05c3647f8b4c9e356c3c212.jpg?s=200&d=http:\/\/forrst.com\/assets\/images\/default_200.jpg","large_url":"http:\/\/www.gravatar.com\/avatar\/5bac0727f05c3647f8b4c9e356c3c212.jpg?s=150&d=http:\/\/forrst.com\/assets\/images\/default_150.jpg","medium_url":"http:\/\/www.gravatar.com\/avatar\/5bac0727f05c3647f8b4c9e356c3c212.jpg?s=75&d=http:\/\/forrst.com\/assets\/images\/default_75.jpg","small_url":"http:\/\/www.gravatar.com\/avatar\/5bac0727f05c3647f8b4c9e356c3c212.jpg?s=45&d=http:\/\/forrst.com\/assets\/images\/default_45.jpg","thumb_url":"http:\/\/www.gravatar.com\/avatar\/5bac0727f05c3647f8b4c9e356c3c212.jpg?s=25&d=http:\/\/forrst.com\/assets\/images\/default_25.jpg"},"bio":"\n<p>A 14 year old who tweet's a lot and is not afraid to say what he\nis thinking. Pretty much fluent in HTML+CSS. Also pretty good with\nPHP, JS, jQuery, MSL, Python and many other languages. Owns quite a\nfew websites and projects and am willing to design + program for\nany other projects!!<\/p>\n\n","is_a":"developer & designer","homepage_url":"http:\/\/nath.is","twitter":"natisgleek","in_directory":true,"tag_string":"designer,developer,python,php,gimp,photoshop,gimp vs photoshop,14,youung,england,leeds"},"published":true,"public":true,"title":"Random Forrst Post (Python)","url":"","content":"import urllib2, json, random\r\ndef randForrstPost():\r\n\tf = urllib2.urlopen(\"http:\/\/forrst.com\/api\/v2\/posts\/all\")\r\n\tj = json.loads(f.read())\r\n\tj = j['resp']['posts']\r\n\treturn random.choice(j)","description":"Just another way to get a random forrst post using the api, but this time in python.\r\n\r\n**Usage:**\r\n\r\n post = randForrstPost()\r\n\r\n**Note::**\r\nI am aware this could be made a *one-liner* but I didn't for clarity.","formatted_content":"\n<p>import urllib2, json, random def randForrstPost(): f =\nurllib2.urlopen(\"<a href=\"http:\/\/forrst.com\/api\/v2\/posts\/all\"\ntarget=\"_blank\" rel=\"nofollow\">forrst.com\/api\/v2\/posts\/\u2026<\/a>\") j =\njson.loads(f.read()) j = j['resp']['posts'] return\nrandom.choice(j)<\/p>\n\n","formatted_description":"\n<p>Just another way to get a random forrst post using the api, but\nthis time in python.<\/p>\n<p><strong>Usage:<\/strong><\/p>\n<div class=\"code inline\">\n<pre class=\"prettyprint\">\n post = randForrstPost()\n<\/pre>\n<div class=\"raw\"><a target=\"_blank\" href=\n\"\/raw_code\/4024d4c1e174ef04d6199fe48142f3daa822eb35\">Raw<\/a><\/div>\n<\/div>\n<p><strong>Note::<\/strong> I am aware this could be made a\n<em>one-liner<\/em> but I didn't for clarity.<\/p>\n\n","like_count":"0","comment_count":"0","tag_string":"","tags":[]}]},"stat":"ok","in":0.1845,"authed":false,"authed_as":false,"env":"prod"})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment