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

How to copy a weblog?

Discussion in 'Blogging' started by NX_NULL, Mar 16, 2017.

  1. NX_NULL

    NX_NULL Regular Member Premium Member

    Joined:
    Dec 31, 2008
    Messages:
    342
    Likes Received:
    434
    There is a wordpress blog.
    There are about 400 posts there.
    How can I copy them into a new wp weblog?

    I dont have access or backup of old weblog, I just know its web address
     
  2. blogzandstuff

    blogzandstuff Elite Member

    Joined:
    Jan 1, 2015
    Messages:
    6,422
    Likes Received:
    2,999
    Occupation:
    blog creator
    Location:
    UK
    So assuming it's yours use the duplicator plugin or go on http://wordpress.org and type in duplicator, on there you can get plugins that duplicate posts only
     
    • Thanks Thanks x 1
  3. Aty

    Aty Jr. VIP Jr. VIP

    Joined:
    Jan 27, 2011
    Messages:
    5,994
    Likes Received:
    4,088
    Occupation:
    SEO (Senior Erection Officer)
    Location:
    your 6 o'clock
    Home Page:
  4. F4lken

    F4lken Jr. VIP Jr. VIP

    Joined:
    Dec 15, 2016
    Messages:
    125
    Likes Received:
    92
    Gender:
    Male
    Location:
    NORAD
  5. moanon

    moanon Registered Member

    Joined:
    Aug 30, 2014
    Messages:
    92
    Likes Received:
    37
    Location:
    near Vienna, Austria
    I don't think that's really going to work without any access to the blog.

    If you just want the contents of the posts, that might be achievable with some kind of crawler. (or this duplicator plugin @blogzandstuff just mentioned, don't know this plugin though)

    Settings and stuff that is saved in the database and not accessible to the public, you won't be able to get.

    You can find out what theme is used by looking at the source code and searching for assets (like the themes style.css) and looking at the theme-folders name. If there is a child theme you can get the changes made in public files like css but you won't be able to get the files running in the background like the themes functions.php file.

    I'm just assuming you don't have anything bad in mind like stealing other peoples content.
     
    • Thanks Thanks x 1
  6. NX_NULL

    NX_NULL Regular Member Premium Member

    Joined:
    Dec 31, 2008
    Messages:
    342
    Likes Received:
    434
    no this is my old weblog, I dont have access to webhosting so I need to copy my content to new hosting... I own the domain name. There is no stealing going on.
     
  7. moanon

    moanon Registered Member

    Joined:
    Aug 30, 2014
    Messages:
    92
    Likes Received:
    37
    Location:
    near Vienna, Austria
    Maybe the first thing you should try is to contact your old hosting provider and ask them for a backup. Most hosts do regular backups from what I know but it could be that they will charge you something for it if you don't have a contract there anymore.

    Other than that I don't think theres any (legal) way to get all the website files back unfortunatly.
     
  8. moanon

    moanon Registered Member

    Joined:
    Aug 30, 2014
    Messages:
    92
    Likes Received:
    37
    Location:
    near Vienna, Austria
    Had a similar case about a year ago and the host wanted to charge 500€ + 20% tax. Told them to fuck off.. fortunatly had an older version of the page lying on another server, still some work to do but not even close to being worth that much money lol some people are just assholes
     
  9. NX_NULL

    NX_NULL Regular Member Premium Member

    Joined:
    Dec 31, 2008
    Messages:
    342
    Likes Received:
    434
    my mistake was hosting on a cheap overseas company, My website is live until end of this month, then they will erase it... I have done all possible way, talking with hosting is pointless at this point.
    My only chance is to copy as much as content I can... If there was an automatic software which could do this, that would be great
     
  10. sirmeep

    sirmeep Registered Member

    Joined:
    Jan 16, 2017
    Messages:
    93
    Likes Received:
    39
    Gender:
    Male
    Occupation:
    Professional Muppet
    Location:
    Ehhhh.... Somewhere Awesome
    I might be missing something but can't you just pull up the internet archive page? There is a even a site that will download an entire blog for less then $20.
     
  11. RightFootFanatic

    RightFootFanatic Regular Member

    Joined:
    May 31, 2015
    Messages:
    387
    Likes Received:
    216
    Occupation:
    DevOps
    Location:
    Whimsyshire
    Simple php script build in 10 minutes.

    > fetch sitemap of blog
    > iterate sitemap entries
    > fetch entries dom
    > process fetched dom with smth like Simple HTML DOM Parser
    > extract content
    > store content
    > ????
    > Profit

    after that you wanna write a quick and dirty script that creates wp posts or use that when storing before hand.
     
  12. moanon

    moanon Registered Member

    Joined:
    Aug 30, 2014
    Messages:
    92
    Likes Received:
    37
    Location:
    near Vienna, Austria
    If your contract is still running then you should still be able to access the server via FTP or am I missing something? I can't see why they should change the FTP credentials before the contract ended.

    You can't access the files on the server because you don't have the permissions to do so. You can get the HTML and all files that are publicly accessible but not the files running on the server.
     
  13. robinmym

    robinmym Power Member

    Joined:
    Dec 7, 2016
    Messages:
    578
    Likes Received:
    114
    Gender:
    Male
    Occupation:
    Online Businesss
    Location:
    Dhaka
    Home Page:
    Duplicate a WordPress Post or Page
    First, you need to install and activate the Duplicate Post plugin. For more details, see our step by step guide on how to install a WordPress plugin.Upon activation, you need to visit Posts » All Posts page. You will notice two new links to clone or to create a new draft below each post title.Clicking on ‘Clone’ will simply create a duplicate post and will not open the duplicate post in the post editor.
    The ‘New Draft’ option will duplicate the post and open the duplicate version in the post editor so that you can start working on it right away.
    You will also find the same options for pages as well.
    The duplicate post plugin works really well. However, if you want to use it mainly for updating old published posts, then there is a better way to do that.

    Customizing Duplicate Post
    The duplicate post plugin works out of the box and supports posts and pages by default.
    You can also customize the plugin to enable support for custom post types, restrict to user roles, and choose what to copy when creating a duplicate.
    Let’s take a look at all these settings.The settings page is divided into three tabs. First tab allows you to choose what to copy when creating a duplicate.
    The default options should work for most websites. However, you can check things you want to copy and uncheck items that you don’t want to be copied.
    Next, you need to move on to the permissions tab.
     
  14. RightFootFanatic

    RightFootFanatic Regular Member

    Joined:
    May 31, 2015
    Messages:
    387
    Likes Received:
    216
    Occupation:
    DevOps
    Location:
    Whimsyshire
    I guess those plugins you mentioned just work to clone post on the same wp that the post is on? op wants to scrape post from third party blog
     
  15. blogzandstuff

    blogzandstuff Elite Member

    Joined:
    Jan 1, 2015
    Messages:
    6,422
    Likes Received:
    2,999
    Occupation:
    blog creator
    Location:
    UK
    No he doesn't, OP owns it
     
  16. moanon

    moanon Registered Member

    Joined:
    Aug 30, 2014
    Messages:
    92
    Likes Received:
    37
    Location:
    near Vienna, Austria
    Still can't log into it and that's the point. You can't install a plugin on a blog you can't log into, doesn't matter if you own it. I think @RightFootFanatic 's point was that the post will be duplicated on the same blog and not to another one, which he is right about
     
    • Thanks Thanks x 1
  17. blogzandstuff

    blogzandstuff Elite Member

    Joined:
    Jan 1, 2015
    Messages:
    6,422
    Likes Received:
    2,999
    Occupation:
    blog creator
    Location:
    UK
    Try this
    https://waybackmachinedownload.com/
     
  18. moanon

    moanon Registered Member

    Joined:
    Aug 30, 2014
    Messages:
    92
    Likes Received:
    37
    Location:
    near Vienna, Austria
    This will not get you the whole WordPress page with all PHP files and the DB from the server. This only saves the response (HTML + publicly accessible assets) that the server sends back to the browser after a request. Since a WordPress site is a dynamic site you'd need all the scripts running on the server also, which are not accessible from outside, to recover the whole page with all functionality.
     
  19. RightFootFanatic

    RightFootFanatic Regular Member

    Joined:
    May 31, 2015
    Messages:
    387
    Likes Received:
    216
    Occupation:
    DevOps
    Location:
    Whimsyshire
    allright guys, I gonna write that script tomorrow on lunch break, and make a little tut for it. I saw this question on here now and then.
    as op just asked about how to get back the post (and maybe pages) it will be a simple little scraper script, that will recreate the posts.

    recreating a whole blog - plugins, themes etc. is a whole other thing.
     
    • Thanks Thanks x 2
  20. terrycody

    terrycody Elite Member

    Joined:
    Sep 29, 2012
    Messages:
    1,520
    Likes Received:
    429
    Occupation:
    marketer
    Location:
    Hell
    If you can manually access these blog posts, then copy paste each one to your site, simple as that, not many work to do. (though you should consider the duplicate case)