Welcome Visitor, Please Login or Register Now Saturday, November 18, 2017 03:51 PM 
New Topic   New Reply
Search for:
Author Message
gary gary's personal page
Registered Member
Posts: 27 Display member's posts
Joined: 06-30-05 08:45 AM
Member Offline
View Member's Profile Send private message
 
Back to top
Importing listings Edit Delete Reply with quote Quote
First Post Posted on: 11-16-12 05:11 PM next post first post
Hello I would like to import listings in to my directory from a text file I see the link "Import Sites From The Submissions Text File" under submissions. However I cannot find any instruction on where to put this text file or format for this file. Can you point me to instructions or briefly explain this for me THANKS
mewsoft mewsoft's personal page
Administrator Team Member
Posts: 5381 Display member's posts
Joined: 11-18-17 03:51 PM
Location: knxoville, TN, USA
Member Offline
View Member's Profile Visit member's website Mewsoft Corporation Send private message ICQ Messenger: ICQ AIM Messenger: AIM YIM Messenger: Yahoo MSN Messenger: MSN
 
Back to top
Re: Importing listings Edit Delete Reply with quote Quote
Reply #: 1 Posted on: 11-17-12 06:02 AM last post previous post

You can use the builtin webs spider and the Dmoz plugin to spider from the dmoz.org which is the largest

directory database all search engines even google use its database.

If you want to build your own spider, then you have to do programming, see the cgi file :

PendingMgr.pm

this pice of code shows how your links should be stored in the file name submissions.txt

under the folder data/submissions



Code: Perl    Select All    Expand All
sub Split_Spidered_Link{
my ($Link) = @_;
my (%URL);
   
   undef %URL;

    (   $URL{ID},
       $URL{Cat_ID},
      $URL{Title},
      $URL{URL},
      $URL{Description},
      $URL{Keywords},
      $URL{User_ID},
      $URL{Language},
      $URL{Location},
      $URL{Email},
      $URL{FName},
      $URL{LName},
      $URL{Company},
      $URL{Job_Title},
      $URL{Street},
      $URL{City},
      $URL{State},
      $URL{Zip},
      $URL{Country},
      $URL{Phone},
      $URL{Fax},
      $URL{Website},
      $URL{URL1},
      $URL{URL2},
      $URL{URL_Image},
      $URL{URL_Icon},
      $URL{Rank},
      $URL{Score},
      $URL{Price},
      $URL{Extra1},
      $URL{Extra2},
      $URL{Extra3},
      $URL{Extra4},
      $URL{Extra5},
      $URL{Extra6},
      $URL{Extra7},
      $URL{Extra8},
      $URL{Extra9},
      $URL{Extra10},
      $URL{Extra11},
      $URL{Extra12},
      $URL{Extra13},
      $URL{Extra14},
      $URL{Extra15},
      $URL{Extra16},
      $URL{Extra17},
      $URL{Extra18},
      $URL{Extra19},
      $URL{Extra20}
   ) = split(/\~\|\|\~/$Link);




Mewsoft Support
www.mewsoft.com

Page 1 of 1
Go to page:

New Topic   New Reply Mark Unread
Jump to:  
Delete   Move     Lock   +Favorits   +Notify   Print