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

Html code, need help and advice.

Discussion in 'Blogging' started by PullThePlug, Jul 8, 2011.

  1. PullThePlug

    PullThePlug Newbie

    Joined:
    Jun 30, 2011
    Messages:
    16
    Likes Received:
    0
    Location:
    Mars
    Hey guys, thanks for viewing my thread.

    Recently I am starting a few autoblogs, and need a html script which can:
    ' download a site content, lets say download another website xxx/a.html page and reupload it to my server xxx/a.html' and do it once in 5mins.

    or

    'show the content on my server which is exactly the same page to another html page'

    Just text only, no template no videos.

    Is that possible that have such a script?

    thank you!:p
     
    Last edited: Jul 8, 2011
  2. eternalfrost

    eternalfrost Regular Member

    Joined:
    Apr 9, 2011
    Messages:
    213
    Likes Received:
    54
    theres no such thing as an html script :rolleyes:
     
  3. PullThePlug

    PullThePlug Newbie

    Joined:
    Jun 30, 2011
    Messages:
    16
    Likes Received:
    0
    Location:
    Mars
    or is there any software that download and upload a html page automatically with a timeset?
     
  4. dowser

    dowser Power Member

    Joined:
    Jun 5, 2011
    Messages:
    685
    Likes Received:
    122
    Location:
    canada
    You can use rss
     
  5. PullThePlug

    PullThePlug Newbie

    Joined:
    Jun 30, 2011
    Messages:
    16
    Likes Received:
    0
    Location:
    Mars
    but the site doesn't provde any rss.

    that is kinda like a html page only and full of text.

    is that still possible to use rss?
     
  6. MickMcG

    MickMcG Power Member

    Joined:
    Feb 24, 2011
    Messages:
    600
    Likes Received:
    164
    you'll need to use an executable language like php or shell script to do that kind of thing, not too difficult to do, but u do need access to the server if u want to set it up at regular intervals
     
    • Thanks Thanks x 1
  7. other_henry

    other_henry Junior Member

    Joined:
    Jun 1, 2011
    Messages:
    107
    Likes Received:
    19
    Occupation:
    Freelance coder, server guy
    Location:
    US
    This would be an easy script to write & run on a schedule (on a linux server) but the other site could block it if they notice it in their logs.
     
  8. Ibeefaaa

    Ibeefaaa Regular Member

    Joined:
    Apr 24, 2010
    Messages:
    365
    Likes Received:
    683
    Occupation:
    Part time IM and part time unemployed :))
    Location:
    Chasing the Smoosh !
    For downloading full websites you can use Composer it's free. (search Kompozer in google) but I don't know where you can get the scheduled uploading thing.
     
  9. luke90

    luke90 Regular Member

    Joined:
    Jul 4, 2011
    Messages:
    271
    Likes Received:
    587
    Try to execute it with CronJobs.
     
  10. other_henry

    other_henry Junior Member

    Joined:
    Jun 1, 2011
    Messages:
    107
    Likes Received:
    19
    Occupation:
    Freelance coder, server guy
    Location:
    US
    Cron is used to run code on a schedule, the OP doesn't have the code to execute.
     
  11. PullThePlug

    PullThePlug Newbie

    Joined:
    Jun 30, 2011
    Messages:
    16
    Likes Received:
    0
    Location:
    Mars
    Yea OtherHarry is right but thank you luke90 for the information. I could use that to run code on schedule.

    Guys, is there any php code or whatever code I can copy a page(just text) from the other page(which is not owned by myself)?

    or scrap the words and lines accordingly and reupload to my site? thanks !!
     
  12. luke90

    luke90 Regular Member

    Joined:
    Jul 4, 2011
    Messages:
    271
    Likes Received:
    587
    You can easily make this using cURL. Then execute it with CronJobs every 5minutes. :)
     
  13. other_henry

    other_henry Junior Member

    Joined:
    Jun 1, 2011
    Messages:
    107
    Likes Received:
    19
    Occupation:
    Freelance coder, server guy
    Location:
    US
    Curl in PHP or CLI would work fine or it could be done as a 1 line cronjob with wget.
     
  14. MickMcG

    MickMcG Power Member

    Joined:
    Feb 24, 2011
    Messages:
    600
    Likes Received:
    164
    is it just one page that u want to copy? ie. othersite/page1 -> yoursite/page1 on regular intervals over and over again like a refresh?
     
  15. PullThePlug

    PullThePlug Newbie

    Joined:
    Jun 30, 2011
    Messages:
    16
    Likes Received:
    0
    Location:
    Mars
    Yes MickMcg you are totally right. :p
    Do you know any codes that can run this thing? I appreciate it
     
  16. PullThePlug

    PullThePlug Newbie

    Joined:
    Jun 30, 2011
    Messages:
    16
    Likes Received:
    0
    Location:
    Mars
    Guys, thanks for the replies!

    I don't know how to use cURL and how cronjobs works. i will go search for it but do you guys have any advice to give me so that I can complete it asap? THANK YOU!:p
     
  17. vishalgmistry

    vishalgmistry Regular Member

    Joined:
    Sep 25, 2008
    Messages:
    321
    Likes Received:
    520
    try httrack.
    its will copy the whole site and upload to your server and edit the parts you want.
     
  18. luke90

    luke90 Regular Member

    Joined:
    Jul 4, 2011
    Messages:
    271
    Likes Received:
    587
    I made an little exemple for you put i just can't post it here... It gives me an error which says that the content is inappropiate... :(
     
  19. PullThePlug

    PullThePlug Newbie

    Joined:
    Jun 30, 2011
    Messages:
    16
    Likes Received:
    0
    Location:
    Mars
    :D thanks luke90!! I appreciate it.
    Do you mind give me a pm with that thing? Thanks!!
     
  20. luke90

    luke90 Regular Member

    Joined:
    Jul 4, 2011
    Messages:
    271
    Likes Received:
    587
    I would love but i haven't 15 post yet. :)