<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Discussion on Twimg | Userscripts.org</title>
    <link>http://userscripts.org/scripts/show/24312</link>
    <description>Recent comments on userscript: Twimg</description>
    <language>en-us</language>
    <ttl>60</ttl>
    <item>
      <title>Archived Comments, replied by Ziru</title>
      <description>&lt;p&gt;Create a new script for the snapshot purpose only (&lt;a href=&quot;http://userscripts.org/scripts/show/24388&quot;&gt;http://userscripts.org/scripts/show/24388&lt;/a&gt;).  I hope you won't mind my borrowing your code.  But if you do, please drop me a line and I will take it out.  Thanks!&lt;/p&gt;</description>
      <pubDate>Thu, 27 Mar 2008 01:17:06 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:10911:25213</guid>
      <author>Ziru</author>
      <link>http://userscripts.org/posts/25213</link>
    </item>
    <item>
      <title>Archived Comments, replied by Ziru</title>
      <description>&lt;p&gt;Pretty cool.   I modified the script a little bit to append a web snapshot whenever a tweet contains a URL link.&lt;/p&gt;

&lt;p&gt;Here are the changes:
&lt;br /&gt;// change to match all URLs
&lt;br /&gt;var regex = /href=&quot;(http:\/\/(.*?))&quot;/;&lt;/p&gt;

&lt;p&gt;// no changes to the tweet entry collecting code
&lt;br /&gt;....&lt;/p&gt;

&lt;p&gt;// changes to the last loop
&lt;br /&gt;for each (var entry in entrys) {
&lt;br /&gt;  var match = regex.exec(entry.innerHTML);
&lt;br /&gt;  if (match &amp;amp;&amp;amp; match[1]) {
&lt;br /&gt;    var url = match[1];
&lt;br /&gt;    var snapshotElem = document.createElement('td');
&lt;br /&gt;    snapshotElem.setAttribute('class', 'thumb vcard');
&lt;br /&gt;    snapshotElem.innerHTML = '&lt;a href=&quot;' + url + '&quot;&gt;&lt;img src=&quot;http://SnapCasa.com/Get.aspx?size=T&amp;amp;code=88&amp;amp;url=' + encodeURI(url) + '&quot; height=&quot;48&quot; width=&quot;48&quot; /&gt;&lt;/a&gt;';
&lt;br /&gt;    entry.parentNode.parentNode.appendChild(snapshotElem);
&lt;br /&gt;  }
&lt;br /&gt;}&lt;/p&gt;</description>
      <pubDate>Wed, 26 Mar 2008 21:42:11 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:10911:25214</guid>
      <author>Ziru</author>
      <link>http://userscripts.org/posts/25214</link>
    </item>
    <item>
      <title>Archived Comments, replied by Jesse Andrews</title>
      <description>&lt;p&gt;The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)&lt;/p&gt;</description>
      <pubDate>Wed, 17 Nov 2004 01:06:06 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:10911:25212</guid>
      <author>Jesse Andrews</author>
      <link>http://userscripts.org/posts/25212</link>
    </item>
  </channel>
</rss>
