<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: I need to  get part of a website onto a USB sick at will</title>
	<link>http://ask.metafilter.com/74564/I-need-to-get-part-of-a-website-onto-a-USB-sick-at-will/</link>
	<description>Comments on Ask MetaFilter post I need to  get part of a website onto a USB sick at will</description>
	<pubDate>Wed, 24 Oct 2007 11:42:06 -0800</pubDate>
	<lastBuildDate>Wed, 24 Oct 2007 11:42:06 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: I need to  get part of a website onto a USB sick at will</title>
		<link>http://ask.metafilter.com/74564/I-need-to-get-part-of-a-website-onto-a-USB-sick-at-will</link>	
		<description>I need to  get part of a website onto a USB sick at will &lt;br /&gt;&lt;br /&gt; I have a client for my web development biz that has a website in ASP (classic) and SQL Server Express.  The old version of the site had some method where certain customers of this client, who had been given a USB stick by my client, could hit a certain page on the site and it would prompt them for a download location, and they could choose the USB stick and then it would download a certian part of the website to the stick as a self contained little site that they could run on their computer from the stick.&lt;br&gt;
&lt;br&gt;
I understand being able to open a webpage from a USB stick and browse the &quot;local&quot; site that is on the stick, no problem.  But my question is how to make static, local, browseable pages out of a dynamic SQL server based site?  &lt;br&gt;
&lt;br&gt;
The site has a lot of products by a lot of manufacturers, and the pages that are downloaded are for a specific manufacturer.  So its pulling a subset of info from the db and building out those pages and saving them as static ones.</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2007:site.74564</guid>
		<pubDate>Wed, 24 Oct 2007 11:15:21 -0800</pubDate>
		<dc:creator>Chuck Cheeze</dc:creator>
		
			<category>usb</category>
		
			<category>website</category>
		
			<category>asp</category>
		
			<category>sqlserver</category>
		
	</item> <item>
		<title>By: derbs</title>
		<link>http://ask.metafilter.com/74564/I-need-to-get-part-of-a-website-onto-a-USB-sick-at-will#1108810</link>	
		<description>I found a good solution to this problem, a free windows program called &lt;a href=&quot;http://www.httrack.com/page/1/en/index.html&quot;&gt;HTTrack&lt;/a&gt;. You give it a URL, and it downloads the entire site into a folder.&lt;br&gt;
&lt;br&gt;
I&apos;ve not actually used it for a few months, but as i remember, it even converts dynamic querystring links (eg. page.asp?p=312432) to proper html files, and fixes the navigation. It was a really useful program. &lt;br&gt;
&lt;br&gt;
Although it&apos;s not an ideal solution for you, you could set up a scheduler on the server to run it every day, and then zip up the folder. Then you could have a link to the zip file on your website, saying something like &quot;Click here to download an offline copy of this site&quot;.....</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.74564-1108810</guid>
		<pubDate>Wed, 24 Oct 2007 11:42:06 -0800</pubDate>
		<dc:creator>derbs</dc:creator>
	</item><item>
		<title>By: Kadin2048</title>
		<link>http://ask.metafilter.com/74564/I-need-to-get-part-of-a-website-onto-a-USB-sick-at-will#1108828</link>	
		<description>This is trivial to do using the command-line program &apos;wget&apos; which is available for pretty much every OS (I think there are even GUI versions for Windows/Mac, and I suspect that a lot of offline browsing tools are built around it).&lt;br&gt;
&lt;br&gt;
It has a fairly complex syntax and can do a lot of stuff (including random waits between pages, spoofing client-types, etc.) but in its most basic forms it will pull down pages, turn them into static HTML, and rewrite their links to reflect the local hierarchy so you can browse them.&lt;br&gt;
&lt;br&gt;
Particularly if you want to script something that will work as part of a bigger system, I think it&apos;s what you want.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.74564-1108828</guid>
		<pubDate>Wed, 24 Oct 2007 11:58:33 -0800</pubDate>
		<dc:creator>Kadin2048</dc:creator>
	</item><item>
		<title>By: tmcw</title>
		<link>http://ask.metafilter.com/74564/I-need-to-get-part-of-a-website-onto-a-USB-sick-at-will#1108924</link>	
		<description>Uh, it seems like the OP is looking for something web-based.&lt;br&gt;
&lt;br&gt;
So, options....&lt;br&gt;
&lt;br&gt;
- Just let them download normal, rendered web pages. Create a page in ASP, and change the HTTP headers (&quot;application/octet-stream&quot; might work) so that browsers will, by default, download instead of view the page.&lt;br&gt;
&lt;br&gt;
- Make a special page with some AJAX so that it contains multiple pages, and do the same header trick&lt;br&gt;
&lt;br&gt;
- Make a page which is a &lt;a href=&quot;http://en.wikipedia.org/wiki/MHTML&quot;&gt;MHTML page&lt;/a&gt; so it&apos;ll be self-contained but will only work in the devil&apos;s browser.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Notes: It doesn&apos;t matter if it&apos;s a USB stick or anything else, it&apos;s just download pages, from what it looks like. You could also, if you were crazy, package a small web server in the download, but that probably doesn&apos;t make sense.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.74564-1108924</guid>
		<pubDate>Wed, 24 Oct 2007 13:04:50 -0800</pubDate>
		<dc:creator>tmcw</dc:creator>
	</item><item>
		<title>By: Chuck Cheeze</title>
		<link>http://ask.metafilter.com/74564/I-need-to-get-part-of-a-website-onto-a-USB-sick-at-will#1108931</link>	
		<description>Does not need to be web-based actually.  PC based is the need- and this could even be something that saves the pages as PDFs - I&apos;m looking into wget now.  &lt;br&gt;
&lt;br&gt;
Thanks all so far</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.74564-1108931</guid>
		<pubDate>Wed, 24 Oct 2007 13:10:39 -0800</pubDate>
		<dc:creator>Chuck Cheeze</dc:creator>
	</item><item>
		<title>By: mathowie</title>
		<link>http://ask.metafilter.com/74564/I-need-to-get-part-of-a-website-onto-a-USB-sick-at-will#1109076</link>	
		<description>It seems like an overly complicated way to connect with customers instead of a simple web-based store site. Was the owner of the company selling access to these thumb drives as an exclusive thing? (were the thumb drives themselves part of the business income?)</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.74564-1109076</guid>
		<pubDate>Wed, 24 Oct 2007 14:46:51 -0800</pubDate>
		<dc:creator>mathowie</dc:creator>
	</item><item>
		<title>By: Chuck Cheeze</title>
		<link>http://ask.metafilter.com/74564/I-need-to-get-part-of-a-website-onto-a-USB-sick-at-will#1116126</link>	
		<description>Hey Matt nice to hear from you- this is simply a way for my client to give their regularly updated product catalog (the website is the most regularly updated catalog) to the customer&apos;s sales reps and knowing that the reps have the client&apos;s catalog easily at hand, whether they have an internet connection or not.&lt;br&gt;
&lt;br&gt;
The client&apos;s customer accounts for 60% of their business so when the customer asks for something, the client usually tries to oblige.  I am guessing the customer gets this sort of thing from other vendors.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.74564-1116126</guid>
		<pubDate>Wed, 31 Oct 2007 10:46:16 -0800</pubDate>
		<dc:creator>Chuck Cheeze</dc:creator>
	</item><item>
		<title>By: Chuck Cheeze</title>
		<link>http://ask.metafilter.com/74564/I-need-to-get-part-of-a-website-onto-a-USB-sick-at-will#1124829</link>	
		<description>I found &lt;a href=&quot;http://www.httrack.com/&quot;&gt;HTTrack&lt;/a&gt; and its a perfect solution.  Seems like a WGet type program with a nice GUI.  It was able to download my site and make all links recursive, and it worked beautifully.  Also has a cool update feature.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.74564-1124829</guid>
		<pubDate>Wed, 07 Nov 2007 14:13:44 -0800</pubDate>
		<dc:creator>Chuck Cheeze</dc:creator>
	</item>
	</channel>
</rss>
