Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
VBPG HTML Extractor - Convert URL to CMS Article Details »
VBPG HTML Extractor - Convert URL to CMS Article
Mod Version: 1.0.0, by Dylanblitz (Contributor) Dylanblitz is offline
Developer Last Online: Feb 2017 I like it Show Printable Version Email this Page

vB Version: 4.0.8 Rating: (1 vote - 5.00 average) Installs: 6
Released: 23 Nov 2010 Last Update: Never Downloads: 68
Not Supported Uses Plugins Additional Files Is in Beta Stage  

Not sure if anyone will need this. A friend asked me to make it for him so he could convert a lot of static pages from his old site into CMS Articles. So I figured I'd release it here in case it'll help anyone else.

This will take a url and convert it into a Static Page CMS Article. Depending on the layout of the original page and your understanding of regex you might get away with minor editing. If you are pulling from a Drupal site or something like it, it can be very easy to pull just the data. On the sample site I show I had to do no editing of the body text.

I am not the greatest with regex so please don't ask me to figure out the regex expression to get your content into the page. If you can't figure it out, I have the default set to use the body tags and you'll have to edit out the extra menu/banner/etc content.

I ran into one issue, not sure what causes it. When I was working with it on my site it worked no problem. When I installed a vanilla vB with the sample CMS data it wouldn't show any of the extracted articles on the All Sections view. Once I clicked the Verify and Repair Node Table it worked fine.

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	01 - original.jpg
Views:	455
Size:	112.5 KB
ID:	123850   Click image for larger version

Name:	02 - admin.jpg
Views:	227
Size:	51.0 KB
ID:	123851   Click image for larger version

Name:	03 - admin1.jpg
Views:	212
Size:	63.0 KB
ID:	123852   Click image for larger version

Name:	04 - admin2.png
Views:	114
Size:	7.8 KB
ID:	123853  

Click image for larger version

Name:	05 - admin3.png
Views:	160
Size:	39.1 KB
ID:	123854   Click image for larger version

Name:	06 - front.jpg
Views:	194
Size:	58.7 KB
ID:	123855   Click image for larger version

Name:	07 - front2.jpg
Views:	283
Size:	93.1 KB
ID:	123856  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 23 Nov 2010, 22:06
Dylanblitz Dylanblitz is offline
 
Join Date: Oct 2005
**Reserved**
__________________
VB Pro Garage with Timeslips
Reply With Quote
  #3  
Old 23 Nov 2010, 23:47
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Thanks for releasing this!

Does this convert it page for page or can I use this to convert my 200 html pages to vbCMS?

If so then how does this handle category structure?
Reply With Quote
  #4  
Old 24 Nov 2010, 00:08
Dylanblitz Dylanblitz is offline
 
Join Date: Oct 2005
Originally Posted by Alfa1 View Post
Thanks for releasing this!

Does this convert it page for page or can I use this to convert my 200 html pages to vbCMS?

If so then how does this handle category structure?
It just does one page at a time, I'm not sure how I would be able to loop it without knowing the title of each page to lookup.
__________________
VB Pro Garage with Timeslips
Reply With Quote
  #5  
Old 24 Nov 2010, 01:27
wottech wottech is offline
 
Join Date: May 2006
In Alfa1's case, I think he has his static pages in specific folders, and each folder is named for a specific category. With that said, could you loop it to convert every file in a specified directory?

{runs and hides}
__________________
www.60degreev6.com
Reply With Quote
  #6  
Old 24 Nov 2010, 02:28
Dylanblitz Dylanblitz is offline
 
Join Date: Oct 2005
Originally Posted by wottech View Post
In Alfa1's case, I think he has his static pages in specific folders, and each folder is named for a specific category. With that said, could you loop it to convert every file in a specified directory?

{runs and hides}
If it's on the same server and accessible with the current account it would be fairly easy. Walking a remote directory is harder, especially if you don't have ftp access.

So it depends really on how the server is setup.

Another way is to have a textbox where you can add several links at once, say a list of 200 of them, and cycle through those. But that's just easier on the coder

I'll play around and see if I can make it have several different options depending on how the site/server is setup.
In the case of multiple though I'd have to go with defaults on most of the options with the admin selecting the section to enter the new articles into. Then the admin would have to go through and modify the articles for their preview text, settings, etc.
__________________
VB Pro Garage with Timeslips
Reply With Quote
  #7  
Old 25 Nov 2010, 21:59
M@rc M@rc is offline
 
Join Date: Oct 2010
Great mod. Tagged for later.
Reply With Quote
  #8  
Old 27 Jun 2011, 21:51
final kaoss final kaoss is offline
 
Join Date: Apr 2006
Interesting, I'm wondering how this would work with the new editor and also is there a way to make it post the static pages as threads instead of articles?
Reply With Quote
  #9  
Old 02 Feb 2012, 17:00
bootytag bootytag is offline
 
Join Date: Jun 2011
Can it do RSS FEEDS and update it
Reply With Quote
  #10  
Old 26 Apr 2012, 15:24
avitor avitor is offline
 
Join Date: Jun 2007
Your criteria or the body tags did not return any valid content. Please press the back button and try again
any help what the reason?
thanks cool mod
__________________
Nature Live
Reply With Quote
  #11  
Old 01 Sep 2012, 08:19
biocyberman biocyberman is offline
 
Join Date: May 2007
This is very interesting :-) Thanks for releasing this. I am looking for something similar to import articles from subdreamer cms into vb4.2 cms.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 12:41.

Layout Options | Width: Wide Color: