[GET] Export your Wordpress posts - ready to blast

magicmastermind

Registered Member
Joined
Sep 11, 2010
Messages
73
Reaction score
27
I wrote this little code snippet, you can extract all posts from your wordpress blog with the title in an ready-to-blast format.

You just export all your posts from your wordpress blog and then you put them in to scrapebox and blast whatever XXk comments out with your deeplinks+title in it.
Normally, you just point backlinks to your main page url.com but if you get deeplinks to url.com/abc/xyz with some relevant anchor, these pages will rank better too, your whole site appears much more natural to fu*king G and you can get some traffic trough longtail keywords from within you post titles !

e.g.
Code:
http://www.mydomain.com/blog/my-post.html {My Post Title}
Instructions:

  1. copy code to notepad
  2. save as "extract-posts.php"
  3. upload to "/wp-content/" folder on your wordpress blog
  4. open "yoururl.com/wp-content/extract-posts.php" in your browser
  5. tadaaa, there you go, paste the lines in your favorite submitter tool and blast the shit
I created several versions of the code, chose the one which suits the best, if you need code for some submitter not listed below, just ask!

Standard Link Code: <a href="URL">TITLE</a>
Code:
<?php

require_once('../wp-blog-header.php');
query_posts('&showposts=-1&order=ASC');

while (have_posts()) : the_post(); ?>

<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
<br />

<?php endwhile; ?>


Advanced Links SickSubmitter Code
URL##{TITLE}
Code:
<?php

require_once('../wp-blog-header.php');
query_posts('&showposts=-1&order=ASC');

while (have_posts()) : the_post(); ?>

<?php the_permalink(); ?>##{<?php the_title(); ?>}
<br />

<?php endwhile; ?>
Scrapebox Code URL {TITLE}
Code:
<?php

require_once('../wp-blog-header.php');
query_posts('&showposts=-1&order=ASC');

while (have_posts()) : the_post(); ?>

<?php the_permalink(); ?> {<?php the_title(); ?>}
<br />

<?php endwhile; ?>
 
Last edited:
Niche PHP scrips, I usually playoaround using phpMyAdmin and do some manual editing using excel and Notepad++
 
Great one, Can you do me a favour, generate the same list with tags instead of title.

Never mind I was able to do that myself here is the code -

Code:
<?php

require_once('../wp-blog-header.php');
query_posts('&showposts=-1&order=ASC');

while (have_posts()) : the_post(); ?>

<?php the_permalink(); ?> {<?php the_tags('','|',''); ?>}
<br />

<?php endwhile; ?>

This will generate list of post with Tags in Spin format next to it ready to be used in Scrapebox
 
Last edited:
Rep+

nice share

:)

btw guyz how can i extract url & Title & tags

my PHP not so good. soz
 
Last edited:
btw guyz how can i extract url & Title & tags
You can see the code which generates title and/or tags on this post.
But I am wondering how you want to extract both of em ?
Spin it like: {Title|Tag|Tag|Tag} or what ?
 
Back
Top