background preloader

DEVELOPMENT

Facebook Twitter

Instalar ElementaryOS en Ubuntu. Howto Create an RSS 2.0 Feed. September 13, 2005 If you can learn HTML, you can easily learn how to build your own RSS 2.0 feeds. I'll take you through the steps to creating an RSS feed from scratch. Step 1: XML Declaration Since RSS 2.0 must validate as XML, the first line in your rss feed must be the XML declaration. The encoding is optional but recommended. Note: If you are using CFML and have whitespace due to the Application.cfm file you can reset the output buffer using <cfcontent reset="true"> Step 2: RSS Channel In this step we need to open up the rss tag, and the channel tag, all of your feed content goes inside these tags. Step 3: RSS Feed Information Next you place information about your RSS feed such as the title of it, the description, and a link to the the site.

<title>The title of my RSS 2.0 Feed</title><link> is my rss 2 feed description</description><lastBuildDate>Mon, 12 Sep 2005 18:37:00 GMT</lastBuildDate><language>en-us</language> Step 4: RSS Items Trackbacks. Create RSS Feed. Twitterfeed.com : feed your blog to twitter. » How to make a Twitter bot with no coding - Digerati Marketing.

As usual, lazy-man post overview: With this post you can learn to make a Twitter bot that will automatically retweet users talking about keywords that you specify. You can achieve this with (just about) no coding whatsoever. Why would you want to do this? Lots of reasons I guess, ranging from spammy to fairly genuine. Normally giving somebody a ReTweet is enough to make them follow you and it keeps your profile active, so you can semi-automate accounts and use it as an aide for making connections. That or you can spam the sh*t out of Twitter, whatever takes your fancy really. Here we go. Step 1: Make your Twitter Bot account Head over to Twitter.com and create a new account for your bot.

Step 2: Find conversations you want to Retweet Okay, we’ve got our Twitter account and we’re going to need to scan twitter for conversations to possibly retweet. So my bot is called “DigeratiTestBot”. Store that in a safe place, we’ll need it in a second. Make a file called “myfeed.php” and put this in it: Create Your Own Automated Twitter Robot in PHP. The ultimate guide to creating your own personalized twitterfeed clone! Kidding… Actualy this is just a mockup, a simple prototype, which is way too fresh for any actual use. We’ll take this forward step by step. I’m not going to give out all my sources but I’ll guide you through authentication, rss lookup, parsing, thanking for retweets, and shooting random stuff at people that mention your robot.

Here’s a brief list of features we will implement: Runs in console, no HTTP accessAuthentication via OAuth, tweeting via OAuthRSS lookup, parsing, forming tweets in bound of 140 characters including a postfix (hashtag or RT)Tweeting ‘thank you for retweeting’ to users that retweet the robotFollowing people that retweet the robotActing strange on users that mention the robot All this is going to be setup on a linux box running crond and acting every 15 minutes or so.

Registering an App at Twitter OAuth Clients Setting up the Environment What environment? Authentication: Storing the Access Tokens. Avoiding common HTML5 mistakes. Between curating sites for the HTML5 gallery and answering readers’ questions here at HTML5 Doctor, I see a host of HTML5 sites and their underlying markup.

In this post, I’ll show you some of the mistakes and poor markup practices I often see and explain how to avoid them. Don’t use section as a wrapper for styling One of the most common problems I see in people’s markup is the arbitrary replacement of <div>s with HTML5 sectioning elements — specifically, replacing wrapper <div>s (used for styling) with <section>s. In XHTML or HTML4, I would see something like this: <! -- HTML 4-style code --><div id="wrapper"> <div id="header"> <h1>My super duper page</h1> <!

-- Header content --> </div> <div id="main"> <! Now, I’m instead seeing this: <! Frankly, that’s just wrong: <section> is not a wrapper. With that in mind, here’s the correct way to mark up the above example using HTML5 and a couple of ARIA roles. <body> <header> <h1>My super duper page</h1> <! Common mistakes with the figure element <!