tag:blogger.com,1999:blog-59413252008-07-18T08:18:25.525+01:00Deflexion.comNMnoreply@blogger.comBlogger3125tag:blogger.com,1999:blog-5941325.post-45820827664563609792008-03-25T08:57:00.005Z2008-03-25T11:01:00.287ZTwitter, TinyURL, Dots, Dashes, and My htaccess FileAfter <a href="http://twitter.com/nm/statuses/632059012">a</a> <a href="http://twitter.com/nm/statuses/632175862">number</a> <a href="http://twitter.com/nm/statuses/666652952">of</a> <a href="http://deflexion.com/2008/03/abloggerandtwitterexperiment">experiments</a> and reading & <a title="thread about 'questions about URLs in tweets'" href="http://groups.google.com/group/twitter-development-talk/browse_thread/thread/9b030491fee28e64/d60c5a4909d4d660">participating</a> in the <a href="http://groups.google.com/group/twitter-development-talk/topics?gvc=2">twitter-development-talk mailing list</a>, I can now tweet about updates to my pages without Twitter converting my URLs to TinyURLs. First, here's what I've learned about Twitter and TinyURLs: <blockquote>If a URL path in a tweet contains only forward slashes (/), dots (.), and alphanumeric characters, Twitter does not convert the URL to a TinyURL.</blockquote>I plan to start tweeting about pages when I update them and if a page's URL contains dashes, tweet it with the dashes replaced by dots. For example, <a href="http://twitter.com/nm/statuses/776697568">the tweet about this blog item</a> uses this URL: <pre><a href="http://deflexion.com/2008/03/twitter.tinyurl.dots.dashes.and.my">http://deflexion.com/2008/03/twitter.tinyurl.dots.dashes.and.my</a></pre> The .htaccess file on my server includes this line: <pre>RedirectMatch 301 ^/(2008/../[^.]*)\.([^.]*)\.([^.]*)\.([^.]*)\.([^.]*)\.([^.]*)$ http://deflexion.com/$1-$2-$3-$4-$5-$6</pre> which redirects the URL to this: <pre><a href="http://deflexion.com/2008/03/twitter-tinyurl-dots-dashes-and-my">http://deflexion.com/2008/03/twitter-tinyurl-dots-dashes-and-my</a></pre> which is the actual URL of the blog item. This way I maintain control of URLs that lead to my pages and TinyURL does not get to track and profile people who visit my pages via <a href="http://twitter.com/nm">my tweets</a>.<br /><br />If you have a suggestion for a better way to do this, please post a comment. For example, I'm wondering if it would be better to use RewriteCond & RewriteRule rather than RedirectMatch in my .htaccess file. Some thoughts about this are in <a href="http://wiki.apache.org/httpd/WhenNotToUseRewrite">WhenNotToUseRewrite</a> in the <a href="http://httpd.apache.org/docs/">Apache Documentation</a> <a href="http://wiki.apache.org/httpd/">Wiki</a>.NMnoreply@blogger.comtag:blogger.com,1999:blog-5941325.post-60809115268277114652008-03-21T10:47:00.004Z2008-03-21T11:12:31.808ZA Blogger And Twitter ExperimentThis is step 1 of an experiment, the title is currently <span class="Apple-style-span" style="font-style: italic;">A.Blogger.And.Twitter.Experiment</span>. Details after I find out what happens...<div><br /></div><div>Update 1: Step 2 is to change the title to <span class="Apple-style-span" style="font-style: italic;">A Blogger And Twitter Experiment</span> (dots replaced by spaces).</div><div><br /></div><div>Update 2: Here's what I learned: If you change a Blogger blog item title, the original URL is preserved. You can use this trick as a way to create a blog item URL that does not contain the dash character (-) and thus won't be TinyURLed by Twitter. The URL of this blog item is <a href="http://deflexion.com/2008/03/abloggerandtwitterexperiment">deflexion.com/2008/03/abloggerandtwitterexperiment</a> and I link to it from <a href="http://twitter.com/nm/statuses/774893348">this Twitter item</a>.</div><div><br /></div><div>But, I'd rather that Twitter gave users the ability to turn off TinyURLing!</div>NMnoreply@blogger.comtag:blogger.com,1999:blog-5941325.post-39881915380776615702008-02-01T15:16:00.000Z2008-02-01T15:19:20.092ZSubscribing to a Google Group Without a Google AccountI just subscribed to the <a href="http://groups.google.com/group/twitter-development-talk/topics?gvc=2">Twitter Development Talk</a> mailing list and it took me a while to figure out how to subscribe without signing in to my Google account. To make it easy to remember how to do this, I'm posting the details here. The first step is to go to the <a href="http://groups.google.com/group/twitter-development-talk/about">About this group</a> page and look for this line:<br /><blockquote><br /> <b>Group email</b> twitter-development-talk@googlegroups.com<br /></blockquote>Next, use your email client to compose a message like this:<br /><pre><br />From: <i>username@example.com</i><br />To: twitter-development-talk<b>-subscribe</b>@googlegroups.com<br />Subject: subscribe<br /></pre>where the From: address is the email address that you would like to receive the list mail, and the To: address includes the string <b>-subscribe</b> before the @ symbol. After you send this subscription request, you will need to confirm the subscription request.<br /><br />Note that not all Google Groups support email subscriptions.<br /><br /><b><i>See Also:</i></b> Google Help > Google Groups Help > Getting started > The basics > <a href="http://groups.google.com/support/bin/answer.py?answer=46606&topic=9244">How do I subscribe to a group?</a><br /><br />NMnoreply@blogger.com