Google Groups Home
Help | Sign in
Digg-Like Images from Url fetcher.
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
GoodMan  
View profile
 More options May 8, 7:17 pm
Newsgroups: comp.lang.javascript
From: GoodMan <shoofionl...@gmail.com>
Date: Thu, 8 May 2008 16:17:44 -0700 (PDT)
Local: Thurs, May 8 2008 7:17 pm
Subject: Digg-Like Images from Url fetcher.
Hello,

I've been Googling around the internet oceans in search of a piece of
code that has a similar functionality as the Digg image fetcher. I've
always wondered how this thing works exactly.

The thing is, you give it a URL. It then crawls the site for images,
and gives them to you in a nice tidy way, with a ay a radio button
next to each image. You select the one you like/want, and it discards
the rest.

I just want the image fetcher, the rest is not that difficult. Oh and
I don't need the whole code, just some general pointers to what I need
to look for exactly.

Thanks for reading this, hope this is also interesting for other
people.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Laser Lips  
View profile
(1 user)  More options May 9, 8:19 am
Newsgroups: comp.lang.javascript
From: Laser Lips <loudsphi...@gmail.com>
Date: Fri, 9 May 2008 05:19:35 -0700 (PDT)
Local: Fri, May 9 2008 8:19 am
Subject: Re: Digg-Like Images from Url fetcher.
You need to do this with a server side language like PHP/ASP/.NET or
similar.
I wrote one in PHP.
I call this method 'Page scraping'
Basically, using the URL you are given, you load the contents of the
URL (the HTML) into a variable and search through the variable for
image tags.  You have to do some string manipulation to get each image
tag out successfully, and then display them at the end by printing out
each image.

I'm not sure you can do this solely with JavaScript but I may be
wrong.
Graham


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
GoodMan  
View profile
 More options May 9, 6:38 pm
Newsgroups: comp.lang.javascript
From: GoodMan <shoofionl...@gmail.com>
Date: Fri, 9 May 2008 15:38:46 -0700 (PDT)
Local: Fri, May 9 2008 6:38 pm
Subject: Re: Digg-Like Images from Url fetcher.
Thanks for your reply.

I posted this in the javascript group because I didn't know exactly
how it works. A php script is probably the best way.

Not to bother you much, if what you wrote is open-source could I have
a link where to get it. If not, could you point me to a place where
you found some info to write something like that.

Thanks again.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google