<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.whatwg.org/index.php?action=history&amp;feed=atom&amp;title=WebAppsTweet</id>
	<title>WebAppsTweet - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.whatwg.org/index.php?action=history&amp;feed=atom&amp;title=WebAppsTweet"/>
	<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=WebAppsTweet&amp;action=history"/>
	<updated>2026-04-03T19:34:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=WebAppsTweet&amp;diff=9358&amp;oldid=prev</id>
		<title>Annevk at 16:12, 29 October 2013</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=WebAppsTweet&amp;diff=9358&amp;oldid=prev"/>
		<updated>2013-10-29T16:12:49Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:12, 29 October 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;WebAppsTweet is a simple script responsible for updating [&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;http://twitter.com/WHATWG @WHATWG&lt;/del&gt;] &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;on Twitter &lt;/del&gt;whenever the specification is changed. It is written on top of [https://github.com/ryanmcgrath/twython Twython]. This page documents most of its source code, which you are free to use for any purpose.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;WebAppsTweet is a simple script responsible for updating [&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[Twitter|our Twitter account]&lt;/ins&gt;] whenever the specification is changed. It is written on top of [https://github.com/ryanmcgrath/twython Twython]. This page documents most of its source code, which you are free to use for any purpose.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;#!/usr/bin/python&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;#!/usr/bin/python&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Annevk</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=WebAppsTweet&amp;diff=5955&amp;oldid=prev</id>
		<title>Annevk: ignore typo and xref fixes</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=WebAppsTweet&amp;diff=5955&amp;oldid=prev"/>
		<updated>2011-01-20T11:08:09Z</updated>

		<summary type="html">&lt;p&gt;ignore typo and xref fixes&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:08, 20 January 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l24&quot;&gt;Line 24:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 24:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     pass&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     pass&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;if revision:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;if revision &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and message != &amp;quot;typo&amp;quot; and message != &amp;quot;xref&amp;quot;&lt;/ins&gt;:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     shorturl = &amp;quot;http://html5.org/r/&amp;quot; + revision&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     shorturl = &amp;quot;http://html5.org/r/&amp;quot; + revision&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     message = shorturl + &amp;quot; — &amp;quot; + message&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     message = shorturl + &amp;quot; — &amp;quot; + message&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Annevk</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=WebAppsTweet&amp;diff=5760&amp;oldid=prev</id>
		<title>Annevk: Created page with &#039;WebAppsTweet is a simple script responsible for updating [http://twitter.com/WHATWG @WHATWG] on Twitter whenever the specification is changed. It is written on top of [https://gi...&#039;</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=WebAppsTweet&amp;diff=5760&amp;oldid=prev"/>
		<updated>2011-01-10T12:32:03Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;WebAppsTweet is a simple script responsible for updating [http://twitter.com/WHATWG @WHATWG] on Twitter whenever the specification is changed. It is written on top of [https://gi...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;WebAppsTweet is a simple script responsible for updating [http://twitter.com/WHATWG @WHATWG] on Twitter whenever the specification is changed. It is written on top of [https://github.com/ryanmcgrath/twython Twython]. This page documents most of its source code, which you are free to use for any purpose.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#!/usr/bin/python&lt;br /&gt;
# coding=UTF-8&lt;br /&gt;
&lt;br /&gt;
# The parameters passed are rev/message/flags/bug/level&lt;br /&gt;
&lt;br /&gt;
import cgi&lt;br /&gt;
from twython import Twython&lt;br /&gt;
&lt;br /&gt;
consumer_key = &amp;quot;...&amp;quot;&lt;br /&gt;
consumer_secret = &amp;quot;...&amp;quot;&lt;br /&gt;
oauth_token = &amp;quot;...&amp;quot;&lt;br /&gt;
oauth_secret = &amp;quot;...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
form = cgi.FieldStorage()&lt;br /&gt;
revision = &amp;quot;&amp;quot;&lt;br /&gt;
message = &amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
try:&lt;br /&gt;
    revision = form[&amp;quot;rev&amp;quot;].value&lt;br /&gt;
    message = form[&amp;quot;message&amp;quot;].value&lt;br /&gt;
except:&lt;br /&gt;
    pass&lt;br /&gt;
&lt;br /&gt;
if revision:&lt;br /&gt;
    shorturl = &amp;quot;http://html5.org/r/&amp;quot; + revision&lt;br /&gt;
    message = shorturl + &amp;quot; — &amp;quot; + message&lt;br /&gt;
    if len(message) &amp;gt; 140:&lt;br /&gt;
        message = message[:139] + &amp;quot;…&amp;quot;&lt;br /&gt;
&lt;br /&gt;
    twitter = Twython(&lt;br /&gt;
      twitter_token = consumer_key,&lt;br /&gt;
      twitter_secret = consumer_secret,&lt;br /&gt;
      oauth_token = oauth_token,                               &lt;br /&gt;
      oauth_token_secret = oauth_secret&lt;br /&gt;
    )&lt;br /&gt;
    print &amp;quot;Content-Type:text/plain\n&amp;quot;&lt;br /&gt;
    print twitter.updateStatus(status=message)&lt;br /&gt;
else:&lt;br /&gt;
    print &amp;quot;Content-Type:text/plain\n&amp;quot;&lt;br /&gt;
    print &amp;quot;Not today. Not today.&amp;quot;&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Annevk</name></author>
	</entry>
</feed>