1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Whats the best way to extract your own blogs URL's ?

Discussion in 'Blogging' started by ch8878, May 23, 2010.

  1. ch8878

    ch8878 Elite Member

    Joined:
    Mar 21, 2009
    Messages:
    2,242
    Likes Received:
    428
    Gender:
    Male
    Occupation:
    Gamer
    Location:
    Youtube
    Home Page:
    I have blogs with like 1,000 posts how do I extract the URL's to a notepad file?
     
  2. Ueland

    Ueland Registered Member

    Joined:
    May 4, 2009
    Messages:
    97
    Likes Received:
    40
    Check the database, the posts table have the URL specified in each post.
     
  3. ch8878

    ch8878 Elite Member

    Joined:
    Mar 21, 2009
    Messages:
    2,242
    Likes Received:
    428
    Gender:
    Male
    Occupation:
    Gamer
    Location:
    Youtube
    Home Page:
  4. fukinlee

    fukinlee Newbie

    Joined:
    Aug 11, 2009
    Messages:
    22
    Likes Received:
    3
    I always install Google XML Sitemaps by arne brachold (spelling might be off on the name). As long as you have that, this is the code I use:

    Code:
    <?PHP
    
    $sitemap_url = 'http://www.yourdomain.com/sitemap.xml';
    
    $links = preg_match_all('/\<loc\>(.+?)\<\/loc\>/', file_get_contents($sitemap_url), $matches);
    foreach($matches[1] as $link){
        echo $link.'<br />';
    }
    
    ?>
    
     
    • Thanks Thanks x 1
  5. millhugz

    millhugz Regular Member

    Joined:
    Nov 9, 2009
    Messages:
    394
    Likes Received:
    68
    uhhh.. google xml site map plugin is the closes thing I came up with.. gives you all your urls at site.com/sitemap.xml

    or get social bot (social bookmarking software) and there is an option to spider your site which gives you a list of all urls including #comments urls, categories, and pages.
     
    • Thanks Thanks x 1
  6. ZMakarov

    ZMakarov Registered Member

    Joined:
    May 5, 2010
    Messages:
    81
    Likes Received:
    5
    Hi,
    Yes the XML sitemap is a good option, all of your website will be in a hierarchy of links from top to bottom. You can also use other link spiders that give you the whole directory of the website. :rolleyes: