I have been thinking about creating some sort of script to help me blog interesting Internet finds, by link scraping and saving myself some time and effort. While I know there are some other services out there that do this, I dont feel like migrating my blog. So I think some sort of Javascript scriptlet or bookmarklet might be able to do some generic job and integrate it into my blogging.
Now I havent found anything like that out there, so if someone knows of one, PLEASE do let me know. It can save me some effort.
As for creating my own, I've only gotten as far as pseudocode. Haven't had the chance to go any further.
Sort-of-Pseudocode:
link blogging with scrape:
get domain/type of link:
-input link
youtube/vimeo:
-take input link
-get view code
-take predetermined embed code, and insert view code
-paste into new blog entry inputbox
general link:
-extract excerpt of text from html
--only excerpt from body tag
--skip past menus etc, get to meaningful content (tricky)
--remove all other html tags
--concatenate remaining text up to specified character number
-scan thru html for img tags
-extract image urls for img tags
-display images for thumbnail selection, in small size
-take selected image and excerpt text
--insert into preformatted code for displaying a link
If someone else wants to have a go making one, be my guest!
[ add comment ] ( 1652 views ) | [ 0 trackbacks ] | permalink