<?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: Migrating vBulletin to Newsgroups?</title>
      <link>http://ask.metafilter.com/34319/Migrating-vBulletin-to-Newsgroups/</link>
      <description>Comments on Ask MetaFilter post Migrating vBulletin to Newsgroups?</description>
	  	  <pubDate>Tue, 14 Mar 2006 11:39:25 -0800</pubDate>
      <lastBuildDate>Tue, 14 Mar 2006 11:39:25 -0800</lastBuildDate>
      <language>en-us</language>
	  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
	  <ttl>60</ttl>

<item>
  	<title>Question: Migrating vBulletin to Newsgroups?</title>
  	<link>http://ask.metafilter.com/34319/Migrating-vBulletin-to-Newsgroups</link>	
  	<description>Best way to export posts from a vBulletin forum and repost them to newsgroups? I&apos;m not a programmer and am not going to be doing the work for this, but I&apos;m trying to find any plugins or tips to help the person who&apos;s tasked with this. We have a vBulletin forum with approximately 35 boards on it, and each of those boards has a pretty decent number of threads on &apos;em. &lt;br&gt;
&lt;br&gt;
I&apos;m looking for an easy way to get all of the relevant data exported from the mysql database to text so that all of those posts can be migrated to a newsgroup, as quickly as possible. There are lots of tables with irrelevant info in the db.&lt;br&gt;
&lt;br&gt;
We don&apos;t care about attachments, we do care about formatting. Anybody have experience with this sort of thing, or know of any good resources, plugins or existing scripts? I&apos;ve found a plugin for vBulletin called ImpExp, but that&apos;s designed specifically to migrate from one vBulletin to another, so isn&apos;t particularly helpful.</description>
  	<guid isPermaLink="false">post:ask.metafilter.com,2008:site.34319</guid>
  	<pubDate>Tue, 14 Mar 2006 11:14:12 -0800</pubDate>
  	<dc:creator>pazazygeek</dc:creator>
	
	<category>vbulletin</category>
	
	<category>forums</category>
	
	<category>migration</category>
	
</item>
<item>
  	<title>By: orthogonality</title>
  	<link>http://ask.metafilter.com/34319/Migrating-vBulletin-to-Newsgroups#535435</link>	
  	<description>Assuming the person who is tasked with this has some knowledge of SQL and can examine the data in the database, this should be a trivial if tedious project. If he can&apos;t do it, it&apos;s because his knowledge of SQL or general problem-solving skills are unequal to the task, and you need to get someone for whom it is trivial.&lt;br&gt;
&lt;br&gt;
The number of boards and the number of threads are not a real factor in whether this is difficult.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.34319-535435</guid>
  	<pubDate>Tue, 14 Mar 2006 11:39:25 -0800</pubDate>
  	<dc:creator>orthogonality</dc:creator>
</item>
<item>
  	<title>By: pazazygeek</title>
  	<link>http://ask.metafilter.com/34319/Migrating-vBulletin-to-Newsgroups#535438</link>	
  	<description>Yeah, he can do it. It&apos;s just a completely tedious and time consuming thing that I have a feeling might have already been solved somewhere out there on the internet, but my searches thus far have been fruitless.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.34319-535438</guid>
  	<pubDate>Tue, 14 Mar 2006 11:42:40 -0800</pubDate>
  	<dc:creator>pazazygeek</dc:creator>
</item>
<item>
  	<title>By: empath</title>
  	<link>http://ask.metafilter.com/34319/Migrating-vBulletin-to-Newsgroups#535464</link>	
  	<description>If I were doing it, I&apos;d modify the external.php code to dump the entire contents of the messageboard as a gigantic xml file.&lt;br&gt;
&lt;br&gt;
I&apos;m not good enough with php to feel comfortable telling you how to do that, though, but I&apos;m sure it wouldn&apos;t take much time to noodle out if you&apos;re at all good with it.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.34319-535464</guid>
  	<pubDate>Tue, 14 Mar 2006 12:01:12 -0800</pubDate>
  	<dc:creator>empath</dc:creator>
</item>
<item>
  	<title>By: empath</title>
  	<link>http://ask.metafilter.com/34319/Migrating-vBulletin-to-Newsgroups#535473</link>	
  	<description>To elaborate a bit: &lt;br&gt;
&lt;br&gt;
external php is a script built into vbulletin that is usually used to create rss or xml feeds of recent threads.&lt;br&gt;
&lt;br&gt;
For example:&lt;br&gt;
&lt;br&gt;
http://www.forumurl.com/backend.php?type=xml&amp;amp;forumids=1,2,3,4 &lt;br&gt;
&lt;br&gt;
would give you an xml file of the 15 most recent posts(total) out of those 4 forums, but only the title and a link to the threads.&lt;br&gt;
&lt;br&gt;
I believe that the only thing you would have to modify is to remove the limit of 15 posts (it&apos;s got a hard limit of 15 coded in, I believe) and to add in whichever additional fields you need to add.  I&apos;d suggest for obvious reasons to copy the external.php file to a new name before modifying it and delete it when you&apos;re finished with it, because you wouldn&apos;t want anybody else to stumble onto that functionality.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.34319-535473</guid>
  	<pubDate>Tue, 14 Mar 2006 12:10:02 -0800</pubDate>
  	<dc:creator>empath</dc:creator>
</item>
<item>
  	<title>By: kableh</title>
  	<link>http://ask.metafilter.com/34319/Migrating-vBulletin-to-Newsgroups#535586</link>	
  	<description>Well something&apos;s hosed with my board now, but have you looked at the ImpEx addon for vB?  I know it can import many different formats, but I can&apos;t get into it at the moment to check what export functionality it has.&lt;br&gt;
&lt;br&gt;
You&apos;ll need your customer number/password to login to the members section of vbulletin.com to download the latest version.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.34319-535586</guid>
  	<pubDate>Tue, 14 Mar 2006 14:01:20 -0800</pubDate>
  	<dc:creator>kableh</dc:creator>
</item>
<item>
  	<title>By: Rhomboid</title>
  	<link>http://ask.metafilter.com/34319/Migrating-vBulletin-to-Newsgroups#535802</link>	
  	<description>&lt;small&gt;kableh, read the question again. :-)&lt;/small&gt;&lt;br&gt;
&lt;br&gt;
If it were me I would forget about doing this through the board and just write a perl script that reads each post in the database and then uses something like &lt;a href=&quot;http://cpan.uwinnipeg.ca/htdocs/NNTPClient/News/NNTPClient.html&quot;&gt;News::NNTPClient&lt;/a&gt; to post each message to the newsgroup server.  Sure you can mess around with RSS feeds and export plugins but I think this will be quick and direct if you have somebody with programming skills.&lt;br&gt;
&lt;br&gt;
The only thing to watch out for is that if you want to maintain threading you&apos;ll need to do some translation of message-IDs.  This should be trivial though because every message in the DB should already have a unique ID already, so just use that (or trivially modify it) as the Message-ID: for each post.  And then make sure to include a References: or In-Reply-To: header for each post in a thread so that a threaded newsreader will be able to recreate the thread structure.&lt;br&gt;
&lt;br&gt;
Regarding formatting, remember that NNTP is just plain text.  So you will probably spend some time figuring that out too.  If it were me I&apos;d look into using &lt;a href=&quot;http://cpan.uwinnipeg.ca/htdocs/HTML-BBCode/HTML/BBCode.html&quot;&gt;HTML::BBCode&lt;/a&gt; on each post and then render that HTML to plain text that is wrapped at 80 columns (with something like lynx --dump or the equivalent perl module.)  You could also do this directly with &lt;a href=&quot;http://cpan.uwinnipeg.ca/htdocs/BBCode-Parser/BBCode/Parser.html&quot;&gt;BBCode::Parser&lt;/a&gt; but that could potentially be more work.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.34319-535802</guid>
  	<pubDate>Tue, 14 Mar 2006 18:16:58 -0800</pubDate>
  	<dc:creator>Rhomboid</dc:creator>
</item>

    </channel>
</rss>
