Y T Nuke  
Results 1 to 3 of 3
I am looking to generate doorway pages for a wordpress site, but I want to ...
  1. #1
    pgaoroagnloeid is offline Registered Member
    Join Date
    Aug 2008
    Posts
    96
    Reputation
    10
    Thanks
    47
    Thanked 20 Times in 13 Posts

    Default help finding a script if it exists

    I am looking to generate doorway pages for a wordpress site, but I want to be able to specify the topic of each page and then spin all of the other content.

    For instance, I would create say 5 paragraphs of text about why you should buy "big blue widgets".

    I want to mass create pages by inserting every product we have in place of big blue widgets and then automatically creating a page about that.

    BUT, all the other text would remain the same, so I want to be able to spin that text by inserting synonyms of my choice like you would do on crewriter.com for instance.

    So what it would do would be to create a new product page, and replace all "product here" references with the next product phrase and then spin the rest of the content to make it unique.

    Is there a wordpress plugin out there that can do this? Or is there some kind of program where I can input my products into a spreadsheet and import the spreadsheet into a program that creates the content and then I can import the new data into wordpress?

    Any help would be greatly appreciated.

  2. #2
    pgaoroagnloeid is offline Registered Member
    Join Date
    Aug 2008
    Posts
    96
    Reputation
    10
    Thanks
    47
    Thanked 20 Times in 13 Posts

    Default Re: help finding a script if it exists

    I think I "almost" answered my own question. I found a plugin called search2post that does exactly what I want, BUT it only does it for terms that users search for.

    I could go into the site and type in searches for every single phrase that I want to target, and that would give me the perfect result, however it would also give me a bunch of other pages that I do not want or need and that would not make sense when put into the %keyword% spot.

    Can anyone get me closer than this?

  3. #3
    Join Date
    Aug 2010
    Location
    Here and there
    Posts
    127
    Reputation
    28
    Thanks
    44
    Thanked 44 Times in 21 Posts

    Default Re: help finding a script if it exists

    This should do it. Run this in Python and it will print all of the pages you want to the console.

    Code:
    keywords = ["your", "keywords", "go", "here"]
    oldtext = "<Your template goes here, with %KEY% {everywhere|in any place} you want a keyword>"
    
    import re
    import random
    
    def stripspin(phrase):
        if(phrase[len(phrase)-1:] == '}'): phrase = phrase[:len(phrase)-1]
        if(phrase[:1] == '{'): phrase = phrase[1:]
        return phrase
    text = oldtext
    p = re.compile('{[^{}]*}')
    
    for keyword in keywords:
        while re.search(p, text):
                instance = re.search(p, text).group(0)
                instance = instance.strip('{}')
                instance = instance.split('|')
                text = p.sub(random.choice(instance), text)
        print text.replace("%KEY%", keyword)
        text = oldtext

AdStract


Advertise on Black Hat World

Similar Threads

  1. Replies: 2
    Last Post: 08-15-2008, 10:47 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
  SEnukeX SEO Software
Proudly Powered by Hostwinds.com Web Hosting Click Here For Exclusive BHW Discounts!

Cheap Web Hosting


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76