<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Sneak Peek</title>
	<atom:link href="http://tech.einaregilsson.com/projects/sneak-peek/feed/" rel="self" type="application/rss+xml" />
	<link>http://tech.einaregilsson.com</link>
	<description>A site for my programming pet projects</description>
	<lastBuildDate>Sat, 20 Mar 2010 01:03:30 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: einar</title>
		<link>http://tech.einaregilsson.com/projects/sneak-peek/comment-page-1/#comment-68153</link>
		<dc:creator>einar</dc:creator>
		<pubDate>Mon, 22 Jun 2009 07:01:10 +0000</pubDate>
		<guid isPermaLink="false">http://tech.einaregilsson.com/?page_id=63#comment-68153</guid>
		<description>@Sara Streeter: I have added your script as a link on the page, thanks.</description>
		<content:encoded><![CDATA[<p>@Sara Streeter: I have added your script as a link on the page, thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sara Streeter</title>
		<link>http://tech.einaregilsson.com/projects/sneak-peek/comment-page-1/#comment-67963</link>
		<dc:creator>Sara Streeter</dc:creator>
		<pubDate>Mon, 08 Jun 2009 18:43:40 +0000</pubDate>
		<guid isPermaLink="false">http://tech.einaregilsson.com/?page_id=63#comment-67963</guid>
		<description>I used this add-on to create a twitter preview for the 140 Characters conference page which had a huge list of people with their twitter links.

Name: 140 Characters Conference - Twitter
Author: Sara Streeter
Author URL: http://www.sarastreeter.com
sitePattern : ^http://www\.140conf\.com.*
linkPattern : ^http://twitter.com/\w+
peekPattern : &lt;ol class=&quot;statuses&quot;[^]*?&lt;/ol&gt;

I tried to get previews of content divs in websites as well, but couldn&#039;t manage to make a generic enough regex that would still load quickly.  The twitter works very well though - thanks so much!

Sara</description>
		<content:encoded><![CDATA[<p>I used this add-on to create a twitter preview for the 140 Characters conference page which had a huge list of people with their twitter links.</p>
<p>Name: 140 Characters Conference &#8211; Twitter<br />
Author: Sara Streeter<br />
Author URL: <a href="http://www.sarastreeter.com" rel="nofollow">http://www.sarastreeter.com</a><br />
sitePattern : ^http://www\.140conf\.com.*<br />
linkPattern : ^http://twitter.com/\w+<br />
peekPattern : &lt;ol class=&#8221;statuses&#8221;[^]*?&lt;/ol&gt;</p>
<p>I tried to get previews of content divs in websites as well, but couldn&#8217;t manage to make a generic enough regex that would still load quickly.  The twitter works very well though &#8211; thanks so much!</p>
<p>Sara</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: einar</title>
		<link>http://tech.einaregilsson.com/projects/sneak-peek/comment-page-1/#comment-67488</link>
		<dc:creator>einar</dc:creator>
		<pubDate>Mon, 04 May 2009 08:46:07 +0000</pubDate>
		<guid isPermaLink="false">http://tech.einaregilsson.com/?page_id=63#comment-67488</guid>
		<description>@redditUser: Well, what do you want to display? The stories or the comments? I can&#039;t write a script to display the stories since every link points to a different site, and there&#039;s no regex that could fit them all. If you want a preview of some comments that could be doable.</description>
		<content:encoded><![CDATA[<p>@redditUser: Well, what do you want to display? The stories or the comments? I can&#8217;t write a script to display the stories since every link points to a different site, and there&#8217;s no regex that could fit them all. If you want a preview of some comments that could be doable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: redditUser</title>
		<link>http://tech.einaregilsson.com/projects/sneak-peek/comment-page-1/#comment-67486</link>
		<dc:creator>redditUser</dc:creator>
		<pubDate>Mon, 04 May 2009 06:55:09 +0000</pubDate>
		<guid isPermaLink="false">http://tech.einaregilsson.com/?page_id=63#comment-67486</guid>
		<description>how about a script for use on http://redditall.com

I&#039;m generally familiar with regEx but am no expert and can&#039;t seem to figure it out.  Thanks!</description>
		<content:encoded><![CDATA[<p>how about a script for use on <a href="http://redditall.com" rel="nofollow">http://redditall.com</a></p>
<p>I&#8217;m generally familiar with regEx but am no expert and can&#8217;t seem to figure it out.  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://tech.einaregilsson.com/projects/sneak-peek/comment-page-1/#comment-67035</link>
		<dc:creator>John</dc:creator>
		<pubDate>Tue, 03 Mar 2009 19:30:37 +0000</pubDate>
		<guid isPermaLink="false">http://tech.einaregilsson.com/?page_id=63#comment-67035</guid>
		<description>Awesome extension. 

Anyway to keep it up and not just on mouse over?

John</description>
		<content:encoded><![CDATA[<p>Awesome extension. </p>
<p>Anyway to keep it up and not just on mouse over?</p>
<p>John</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Val001</title>
		<link>http://tech.einaregilsson.com/projects/sneak-peek/comment-page-1/#comment-36769</link>
		<dc:creator>Val001</dc:creator>
		<pubDate>Sat, 15 Nov 2008 21:19:50 +0000</pubDate>
		<guid isPermaLink="false">http://tech.einaregilsson.com/?page_id=63#comment-36769</guid>
		<description>Hello,

SneakPeek is a great tool!

It works nice, especially on well-structured sites.
I was able to program it for fast show of all Job Descriptions from Dice, works like a charm! You just point on a job line and see description body in pop-up window without noise information like headers, adds and so on.

Thank you EINAR!</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>SneakPeek is a great tool!</p>
<p>It works nice, especially on well-structured sites.<br />
I was able to program it for fast show of all Job Descriptions from Dice, works like a charm! You just point on a job line and see description body in pop-up window without noise information like headers, adds and so on.</p>
<p>Thank you EINAR!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RenegadeX</title>
		<link>http://tech.einaregilsson.com/projects/sneak-peek/comment-page-1/#comment-21571</link>
		<dc:creator>RenegadeX</dc:creator>
		<pubDate>Sun, 20 Jul 2008 19:12:00 +0000</pubDate>
		<guid isPermaLink="false">http://tech.einaregilsson.com/?page_id=63#comment-21571</guid>
		<description>oops.. I just tried installing the code I wrote above on a friend&#039;s computer and noticed that it didn&#039;t work due to an extra space between the &#039;left:&#039; and &#039;251px&#039;.
I fixed some other unnecessary spaces in it too: Here, try this:

position:absolute !important; left:251px !important; background-color:#FFFFE1 !important; border:solid 1px black !important; padding:3px !important; color:black !important; width:650px !important; font-family:Arial, sans-serif !important; font-size:11px !important; display:none</description>
		<content:encoded><![CDATA[<p>oops.. I just tried installing the code I wrote above on a friend&#8217;s computer and noticed that it didn&#8217;t work due to an extra space between the &#8216;left:&#8217; and &#8216;251px&#8217;.<br />
I fixed some other unnecessary spaces in it too: Here, try this:</p>
<p>position:absolute !important; left:251px !important; background-color:#FFFFE1 !important; border:solid 1px black !important; padding:3px !important; color:black !important; width:650px !important; font-family:Arial, sans-serif !important; font-size:11px !important; display:none</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RenegadeX</title>
		<link>http://tech.einaregilsson.com/projects/sneak-peek/comment-page-1/#comment-21516</link>
		<dc:creator>RenegadeX</dc:creator>
		<pubDate>Fri, 18 Jul 2008 05:17:40 +0000</pubDate>
		<guid isPermaLink="false">http://tech.einaregilsson.com/?page_id=63#comment-21516</guid>
		<description>Hi again. I just sent you an email with some ideas, but I thought the following might be useful to share with other users:

In &#039;about:config&#039;, I edited my &#039;extensions.sneakpeek.previewStyle&#039; and gave my popup box a different colour(pale yellow), changed the font size, made the box wider, and centred the box on my screen as I noticed that sometimes if my mouse was too far to the right side of the screen, the popup would get cut off. 

(My screen&#039;s resolution is 1152x864 so as I made my popup box 650px, I calculated: (screenwidth - boxwidth) / 2 and put the resulting number (251) as a &#039;left: &#039; positioning value)

So here&#039;s what I&#039;m currently using:
---
position:absolute! important; left: 251px! important; background-color:#FFFFE1 ! important;  border:solid 1px black! important;  padding:3px ! important;  color:black ! important;  width:650px ! important;  font-family:Arial, sans-serif ! important;  font-size:11px ! important;  display:none
---

It&#039;s pretty simple to play around with the various style settings, but I wonder if there is enough interest for a style-picker built in to the Sneak Peek Options (colour palette, font chooser, width changer, re-positioner, - and preview button).

I mentioned it to Einar already, but in my first post I had said using the pipe symbol (shift+backslash) was good because it allowed the Sneak Peek to be applied to various different forum pages that a user might access. However, even easier is a simple wildcard &quot;*&quot; (ex: ..com/forums/*)

Also if anyone has a forum they&#039;d like a script for but doesn&#039;t know how, post here and I&#039;ll see what I can do!</description>
		<content:encoded><![CDATA[<p>Hi again. I just sent you an email with some ideas, but I thought the following might be useful to share with other users:</p>
<p>In &#8216;about:config&#8217;, I edited my &#8216;extensions.sneakpeek.previewStyle&#8217; and gave my popup box a different colour(pale yellow), changed the font size, made the box wider, and centred the box on my screen as I noticed that sometimes if my mouse was too far to the right side of the screen, the popup would get cut off. </p>
<p>(My screen&#8217;s resolution is 1152&#215;864 so as I made my popup box 650px, I calculated: (screenwidth &#8211; boxwidth) / 2 and put the resulting number (251) as a &#8216;left: &#8216; positioning value)</p>
<p>So here&#8217;s what I&#8217;m currently using:<br />
&#8212;<br />
position:absolute! important; left: 251px! important; background-color:#FFFFE1 ! important;  border:solid 1px black! important;  padding:3px ! important;  color:black ! important;  width:650px ! important;  font-family:Arial, sans-serif ! important;  font-size:11px ! important;  display:none<br />
&#8212;</p>
<p>It&#8217;s pretty simple to play around with the various style settings, but I wonder if there is enough interest for a style-picker built in to the Sneak Peek Options (colour palette, font chooser, width changer, re-positioner, &#8211; and preview button).</p>
<p>I mentioned it to Einar already, but in my first post I had said using the pipe symbol (shift+backslash) was good because it allowed the Sneak Peek to be applied to various different forum pages that a user might access. However, even easier is a simple wildcard &#8220;*&#8221; (ex: ..com/forums/*)</p>
<p>Also if anyone has a forum they&#8217;d like a script for but doesn&#8217;t know how, post here and I&#8217;ll see what I can do!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: einar</title>
		<link>http://tech.einaregilsson.com/projects/sneak-peek/comment-page-1/#comment-21362</link>
		<dc:creator>einar</dc:creator>
		<pubDate>Thu, 10 Jul 2008 21:18:04 +0000</pubDate>
		<guid isPermaLink="false">http://tech.einaregilsson.com/?page_id=63#comment-21362</guid>
		<description>Hi RenegadeX

Nice to know someone is using it :)

I&#039;ve added a new version, 0.9.2, that works correctly on local files. I thought the old one did already, but testing it after getting your comment I realized that it didn&#039;t work at all.

I couldn&#039;t install the script you sent me, after a while I figured out it was because it was missing the url: line. It&#039;s required to be there, even though you don&#039;t specify any url. The parsing is a bit sensitive ;) Anyway, I put your script upon my site, giving you credit for it of course, so others can download it.

As for having trouble creating scripts, yes, it can be pretty annoying. Some tips, tricks and future ideas:

* Go to about:config and set extensions.sneakpeek.debug to true. Then you&#039;ll see some debug output in the error console that might help you a little bit, saying how many links were set up with event handlers and so on. I don&#039;t remember exactly how much is printed, it was meant as a debugging aid, not for public use. (In about config you can also mess with the css for the preview if you want).

* Read the help file, available from the help button in the options dialog. It has some tricks (not a lot), such as using [^]*? for content.

* An idea I had was to build some kind of tester. You could enter an example site url and it would tell you something like &#039;Site pattern xxx matched
the example url, link pattern found n links on that page that were set up with previews, the first of those gives the following preview: xxxxxx&#039;. So you could build it up gradually, first making sure that the site pattern matched, then checking how many links were matched and finally seeing the content found from the first links&#039; preview. But that might be a while away, I probably won&#039;t work much on this extension for at least 2-3 weeks.

And if you&#039;re a member at addons.mozilla.org I&#039;d really appreciate if you&#039;d leave a review for the extension :)</description>
		<content:encoded><![CDATA[<p>Hi RenegadeX</p>
<p>Nice to know someone is using it <img src='http://tech.einaregilsson.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I&#8217;ve added a new version, 0.9.2, that works correctly on local files. I thought the old one did already, but testing it after getting your comment I realized that it didn&#8217;t work at all.</p>
<p>I couldn&#8217;t install the script you sent me, after a while I figured out it was because it was missing the url: line. It&#8217;s required to be there, even though you don&#8217;t specify any url. The parsing is a bit sensitive <img src='http://tech.einaregilsson.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  Anyway, I put your script upon my site, giving you credit for it of course, so others can download it.</p>
<p>As for having trouble creating scripts, yes, it can be pretty annoying. Some tips, tricks and future ideas:</p>
<p>* Go to about:config and set extensions.sneakpeek.debug to true. Then you&#8217;ll see some debug output in the error console that might help you a little bit, saying how many links were set up with event handlers and so on. I don&#8217;t remember exactly how much is printed, it was meant as a debugging aid, not for public use. (In about config you can also mess with the css for the preview if you want).</p>
<p>* Read the help file, available from the help button in the options dialog. It has some tricks (not a lot), such as using [^]*? for content.</p>
<p>* An idea I had was to build some kind of tester. You could enter an example site url and it would tell you something like &#8216;Site pattern xxx matched<br />
the example url, link pattern found n links on that page that were set up with previews, the first of those gives the following preview: xxxxxx&#8217;. So you could build it up gradually, first making sure that the site pattern matched, then checking how many links were matched and finally seeing the content found from the first links&#8217; preview. But that might be a while away, I probably won&#8217;t work much on this extension for at least 2-3 weeks.</p>
<p>And if you&#8217;re a member at addons.mozilla.org I&#8217;d really appreciate if you&#8217;d leave a review for the extension <img src='http://tech.einaregilsson.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RenegadeX</title>
		<link>http://tech.einaregilsson.com/projects/sneak-peek/comment-page-1/#comment-21359</link>
		<dc:creator>RenegadeX</dc:creator>
		<pubDate>Thu, 10 Jul 2008 19:38:26 +0000</pubDate>
		<guid isPermaLink="false">http://tech.einaregilsson.com/?page_id=63#comment-21359</guid>
		<description>^ oh, my peekPattern apparently got mangled when I hit &quot;Send&quot; just now -- apparently WordPad doesn&#039;t like less-than and greater-than signs and disregards whatever is between them.

I&#039;ll just email it to you.</description>
		<content:encoded><![CDATA[<p>^ oh, my peekPattern apparently got mangled when I hit &#8220;Send&#8221; just now &#8212; apparently WordPad doesn&#8217;t like less-than and greater-than signs and disregards whatever is between them.</p>
<p>I&#8217;ll just email it to you.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
