Activity Stream
48,167 MEMBERS
6816 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 10 of 10
  1.     
    #1
    The Wise One
    Website's:
    twilight.ws ddlrank.com

    Default Link checker idea

    Hey,

    I was just thinking about a cool feature for checking links on my DDL website but wanted to get your input on it.


    The idea is to whenever a user clicks the "Report dead links" on a submissions, a new window opens.

    In order for the download database to stay consistent I could crawl the "check download links" website using curl and display that page to the visitor. This way I could also check if a certain percentage of links is down and remove the submission from the database. The only negative point about this is that my server will have to crawl the "check download links" page everytime a visitor reports a dead submissions.

    An alternative I had in mind is to load the "check download links" page into an iframe and then check the amount of dead links via jquery/javascript.

    I would have to do a on document ready/on document load event on that page and check the amount of dead links this way.

    This way it's all done via the visitor and thus no extra load on the server.

    Would this be do-able? I mean grab contents of a page loaded in an iframe and iterate over the document elements? By the color of each link you can make a % of how many dead links there are.

    If it passes a certain percentage I would just do an AJAX request to an private API to remove that certain submission.

    Inputs are appreciated

    -Whoo
    Whoo Reviewed by Whoo on . Link checker idea Hey, I was just thinking about a cool feature for checking links on my DDL website but wanted to get your input on it. The idea is to whenever a user clicks the "Report dead links" on a submissions, a new window opens. In order for the download database to stay consistent I could crawl the "check download links" website using curl and display that page to the visitor. This way I could also check if a certain percentage of links is down and remove the submission from the database. The Rating: 5
    I can always be contacted by sending a tweet @twilightws

  2.   Sponsored Links

  3.     
    #2
    Respected Developer
    Website's:
    X4B.org
    An alternative I had in mind is to load the "check download links" page into an iframe and then check the amount of dead links via jquery/javascript.
    Cant be done. Google Same origin policy.

  4.     
    #3
    Member
    Website's:
    litewarez.net litewarez.com triniwarez.com
    +1 Splitice.
    Join Litewarez.net today and become apart of the community.
    Unique | Clean | Advanced (All with you in mind)
    Downloads | Webmasters


    Notifications,Forum,Chat,Community all at Litewarez Webmasters


  5.     
    #4
    Member
    Good idea
    YQL does allow us to make cross-domain GET requests..

    http://www.wait-till-i.com/2010/01/1...query-and-yql/

    &
    https://github.com/codepo8/crossdoma...jquery-and-yql


    best way is to use JSONP , but I highly doubt that file hosting sites offer that service .
    Coding Horror Fan
    I don't read PM's frequently .

  6.     
    #5
    Respected Developer
    Website's:
    X4B.org
    except there are service limits on that, I think you get something like 1k requests per day (5k, but external fetches cost X)

  7.     
    #6
    Member
    I don't support the use of external services..but Yahoo is a reliable company and the limits are pretty much practical ..and can be used on live sites with decent traffic ..

    Coding Horror Fan
    I don't read PM's frequently .

  8.     
    #7
    Respected Developer
    Website's:
    X4B.org
    hehe you found them, so 1,000 links per houw. Might as well do it on the server. I just know there are limits from when I utilised their term extracter interface.

    Although if he does it clientside he will use the clients IP I suppose. Still serverside would be better.

  9.     
    #8
    The Wise One
    Website's:
    twilight.ws ddlrank.com
    The most efficient method would be the best for me, ill look into YQL.

    Thanks
    -Whoo
    I can always be contacted by sending a tweet @twilightws

  10.     
    #9
    Banned
    Good idea

  11.     
    #10
    Member
    Why not use some link-checking script within your site? Server load shouldn't cause much trouble. The hosters offer an Api or at least a special page were you can check like 25-100 links in one step - so no big network load. Simply run a cronjob every 5 minute which checks 500 links. Can be combined with your site's db so that offline downloads get invisible to your user.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. New Idea! Earn money with sharing every kind of link!
    By John in forum Webmaster Discussion
    Replies: 0
    Last Post: 12th Aug 2012, 11:08 PM
  2. Link Checker API
    By olli460 in forum Web Development Area
    Replies: 0
    Last Post: 22nd Jul 2010, 01:54 PM
  3. Looking for a Link Checker.
    By EvilGenius in forum Community Cooperative
    Replies: 1
    Last Post: 24th Sep 2009, 12:02 PM

Tags for this Thread

BE SOCIAL