Downloading the Metaverse


I was listening to Radar Musakami‘s Metaverse in a Minute podcast episode 65 – Banana Blender today and heard him talk about the interesting way that Linden Lab’s had used images to create mesh objects, otherwise known as sculpties. The thing is, this was one of my suggestions when I was interviewed in the Resi Spotlight for Metaverse Messenger long before we had such a thing. I could be wrong, so I tried to find the issue that I was in. The site’s archives for M2 state that they are under construction. I found a way to download archives directly. This in turn lead me on a path to create a program to download the entire collection of magazines. When I find the specific newspaper, I’ll share my findings (right or wrong), but I’m certain it is in there.

Download the source code for M2 Archive Fetcher.

Here is the code in c# that I created to download the archives:

private static bool completed = false;
private static int percent = 0;
private static bool error = false;
private void DownloadArchives(DateTime start, DateTime end)
{
string url = “http://www.metaversemessenger.com/pdf/{0:yyyy}/{0:MM}/MM{0:yyyy}{0:MM}{0:dd}.pdf”;
string filename = @”C:\M2\MM{0:yyyy}{0:MM}{0:dd}.pdf”;
while (end >= start)

{
completed = false;
error = false;
percent = 0;

progressBar1.Value = 0;

label1.Text = string.Format(“Downloading {0:d}”, end);
Application.DoEvents();
string path = string.Format(filename, end);
Uri address = new Uri(string.Format(url, end));
var c = new WebClient();
// setup progress handlers for asynchronouse download
c.DownloadProgressChanged += new DownloadProgressChangedEventHandler(c_DownloadProgressChanged);
c.DownloadFileCompleted += new AsyncCompletedEventHandler(c_DownloadFileCompleted);
// attempt to download file
c.DownloadFileAsync(address, path);
// keep waiting …
while (!completed)
{
// update progress bar
progressBar1.Value = percent;
// give asynchronouse download thread time to process
Application.DoEvents();
}
// if error, don’t keep that file!
if (error) File.Delete(path);
end = end.AddDays(-1);
}
label1.Text = “Done.”;
}
void c_DownloadFileCompleted(object sender, AsyncCompletedEventArgs e)
{
error = e.Error != null;
completed = true;
}
void c_DownloadProgressChanged(object sender, DownloadProgressChangedEventArgs e)
{
percent = e.ProgressPercentage;
}

private void DownloadArchives(DateTime start, DateTime end)        {            string url = “http://www.metaversemessenger.com/pdf/{0:yyyy}/{0:MM}/MM{0:yyyy}{0:MM}{0:dd}.pdf”;            string filename = @”C:\M2\MM{0:yyyy}{0:MM}{0:dd}.pdf”;
while (end >= start)            {                completed = false;                error = false;                percent = 0;                progressBar1.Value = 0;
label1.Text = string.Format(“Downloading {0:d}”, end);
Application.DoEvents();
string path = string.Format(filename, end);                Uri address = new Uri(string.Format(url, end));
var c = new WebClient();
// setup progress handlers for asynchronouse download                c.DownloadProgressChanged += new DownloadProgressChangedEventHandler(c_DownloadProgressChanged);                c.DownloadFileCompleted += new AsyncCompletedEventHandler(c_DownloadFileCompleted);
// attempt to download file                c.DownloadFileAsync(address, path);
// keep waiting …                while (!completed)                {                    // update progress bar                    progressBar1.Value = percent;
// give asynchronouse download thread time to process                    Application.DoEvents();                }                // if error, don’t keep that file!                if (error) File.Delete(path);
end = end.AddDays(-1);            }
label1.Text = “Done.”;
}
void c_DownloadFileCompleted(object sender, AsyncCompletedEventArgs e)        {            error = e.Error != null;            completed = true;        }
void c_DownloadProgressChanged(object sender, DownloadProgressChangedEventArgs e)        {            percent = e.ProgressPercentage;        }

posted by Dedric Mauriac on Dublin using a blogHUD : [blogHUD permalink]

One Response to Downloading the Metaverse

  1. […] Sculpties on me I finished downloading metaverse messenger archives today and was able to use the search feature in the Adobe Reader to search the text of all […]

%d bloggers like this: