Results 1 to 10 of 10
-
27th Dec 2010, 12:25 PM #1OPThe Wise OneWebsite's:
twilight.ws ddlrank.comLink 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
-WhooWhoo 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: 5I can always be contacted by sending a tweet @twilightws
-
27th Dec 2010, 12:27 PM #2Respected DeveloperWebsite's:
X4B.org
-
27th Dec 2010, 01:11 PM #3MemberWebsite'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
-
27th Dec 2010, 01:18 PM #4Member
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 .
-
27th Dec 2010, 01:22 PM #5Respected DeveloperWebsite's:
X4B.org
-
27th Dec 2010, 01:39 PM #6Member
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 .
-
27th Dec 2010, 01:42 PM #7Respected DeveloperWebsite's:
X4B.org
-
27th Dec 2010, 07:06 PM #8OPThe Wise OneWebsite's:
twilight.ws ddlrank.comThe most efficient method would be the best for me, ill look into YQL.
Thanks
-WhooI can always be contacted by sending a tweet @twilightws
-
29th Dec 2010, 03:14 AM #9Banned
Good idea
-
29th Dec 2010, 03:21 AM #10Member
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.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
New Idea! Earn money with sharing every kind of link!
By John in forum Webmaster DiscussionReplies: 0Last Post: 12th Aug 2012, 11:08 PM -
Link Checker API
By olli460 in forum Web Development AreaReplies: 0Last Post: 22nd Jul 2010, 01:54 PM -
Looking for a Link Checker.
By EvilGenius in forum Community CooperativeReplies: 1Last Post: 24th Sep 2009, 12:02 PM
themaLeecher - leech and manage...
Version 5.03 released. Open older version (or...