So in an effort to make it easier for me to blog, I have been thinking about scripting some automation. Facebook allows you to easily 'share links'. FB's method of link sharing actually takes the content of the URL you are sharing and creates a preview or thumbnails of that content. This allows your friends to easily get an idea what the link is about without clicking on it and also allows you to quickly share things without too much work. Also the quick ability to add your comment on the link is great too. So after some researching, I found out that this method of gathering previews of the content is known as 'Scraping'.

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 ] ( 439 views )   |  [ 0 trackbacks ]   |  permalink
The upgrade to Firefox 3.5 was a huge and welcome improvement, especially with its new faster javascript engine. However, one of the most annoying things about the upgrade was the inexplicable removal of the browser.link.open_external option.
open_external Background:
Other applications will often use the system’s default browser to load web pages. When a Mozilla-based browser is running, it can catch links sent by other programs. This preference determines how Mozilla handles those links.

Possible values and their effects:
1 = Open links from external programs in the current window.
2 = Open links from external programs in a new window.
3 = Open links from external programs in new tabs in an existing window. (Default in Firefox)

While this an 'under-the-hood' option that can only be accessed via about:config, it is an important one because in my browsing routine, I want URLs that I click in my email program or instant messaging program to bring up links into new windows, not buried as one of the many tabs in one of the many open browser windows. Also, when it is directed to a tab instead of a new window, the page does not pop-up and into focus for me to read and I have to go searching for it. So i prefer open_external=2.

After months since the update to Firefox 3.5, I have finally found a solution. An AddOn created by mrchucho.net called Tabs Open Relative (Modified) 1.0 (a modified version of the Tabs Open Relative AddOn), which restores the open_external behavior!

[ add comment ] ( 573 views )   |  [ 0 trackbacks ]   |  permalink
The Institute for Transportation and Development Policy has an amazing planning guide for Bus Rapid Transit systems.

BUS RAPID TRANSIT PLANNING GUIDE
Link: http://www.itdp.org/index.php/microsite ... ing_guide/
It is the culmination of over five years of efforts to document and improve the state of the art in cost-effective public transport solutions for cities. This edition, expanded to over 800 pages, includes ...


[ add comment ] ( 738 views )   |  [ 0 trackbacks ]   |  permalink
Curitiba: BRT is not just a transportation plan, but a way of urban planning ...

Streetfilms | Curitiba’s BRT: Inspired Bus Rapid Transit Around the World
Link: http://www.streetfilms.org/curitibas-brt/
Curitiba, Brazil first adopted its Master Plan in 1968. Since then, it has become a city well known for inventive urban planning and affordable (to the user and the city) public transportation.

For BRT to really be successful, it must be perceived and treated as a form or Rapid Transit - like a subway, not just a bus.

Successful BRT needs:
-Dedicated lane ways.
-STATIONS (not just some bus stop, a real station. remember this is rapid transit, it should be treated like a subway station).
-Advanced fare collection at the stations.
-Fast methods of boarding/disembarking buses.

It is interesting to note that so called rapid bus lines in Metro Vancouver has none of these.

[ add comment ] ( 736 views )   |  [ 0 trackbacks ]   |  permalink
A San Francisco study on how to deal with parking problems. They suggest better pricing models to curb driver behaviors, instead of building more parking.

Worldchanging: Bright Green: Parking Done Right
Link: http://www.worldchanging.com/archives/010687.html
Decrease the price of parking at times of day, such as mid-morning, when spots are under-utilized Increase the price of parking during times of heavy use, with the goal of achieving an average occupancy rate of 85% Extend the metered parking until later in the evening in certain neighborhoods to mat...


[ add comment ] ( 729 views )   |  [ 0 trackbacks ]   |  permalink
I love StreetFilms.org! They do an amazing job covering ideas (in practice or in process, past and present) on making urban spaces more livable.
Streetfilms | Documenting Livable Streets Worldwide
Link: www.streetfilms.org
It's not everyday that you get to ride bikes in a big metropolis with a member of Congress, even one who loves to bicycle whenever he can. Rep. Earl Blumenauer dropped by Transportation Alternatives' offices to ...


[ add comment ] ( 622 views )   |  [ 0 trackbacks ]   |  permalink  |  related link

City of Surrey "The Future Lives Here"
An economic development showcase for the City of Surrey, British Columbia.



[Update]: Looks like the video got revised - updated the embed link.

[ add comment ] ( 791 views )   |  [ 0 trackbacks ]   |  permalink
Microsoft Research shows off five different multi-touch mice, each using different methods of multi-touch input
Microsoft Research shows off multitouch mouse prototypes
Link: www.engadget.com/2009/10/05/microsoft-research-shows-off-multitouch-mouse-prototypes/
Rather odd timing, given some recent developments in the Apple camp, but Microsoft Research has just surfaced some of its incredibly wild multitouch mouse prototypes. Each one uses a different touch detection method, and at first glance all five seem to fly in the face of regular ergonomics. ...



[ add comment ] ( 660 views )   |  [ 0 trackbacks ]   |  permalink
How to Use Content-Aware-Scaling in Photoshop CS4 - Psdtuts+
Link: http://fbshare.me/HMuj
The latest version of Photoshop CS4 offers a variety of new features that save time and work. One of them is the newly added Content-Aware-Scaling feature...


[ add comment ] ( 2166 views )   |  [ 0 trackbacks ]   |  permalink
The Trick or Treat index... Index of neighborhoods that will provide the most candy, with the least walking, and are the safest.
Trick or Treat for a Community | All About Cities
Link: http://allaboutcities.ca/356/


[ add comment ] ( 642 views )   |  [ 0 trackbacks ]   |  permalink
Time for new business models in the post-modern era.
The middle-man is failing because they have turned it into a war

The Disintermediation Era | HPC
Link: http://www.horsepigcow.com/2009/11/the- ... ation-era/
It must suck to be the middle-man today. Everywhere they turn, it's bad news. Democratization this. Circumventing that. There was a point not that long ago that the middle-man provided great value. The record companies brought music to the masses. ...


[ add comment ] ( 633 views )   |  [ 0 trackbacks ]   |  permalink
Surrey is a developing city with a huge potential.
Surrey should develop an awesome masterplan to guide it in its development throughout the coming years, decades, and centuries.
Some great examples of masterplans that I have looked over in the past year include Curitiba, Brazil; Greensburg, Kansas; and various cities around the world. Check out the innovative approaches that Curitiba and Greensburg have taken/are taking!

UPDATE
I've realized that I didn't clarify that a Masterplan is a comprehensive outline for the urban planning of a city.

[ add comment ] ( 595 views )   |  [ 0 trackbacks ]   |  permalink
Pretty sweet technology allowing 360 degree, navigable, video. Similar to Quicktime3D, but with video. I'm interested to see what the possibilities will be. Live 360 degree streaming web broadcasts? It would be like you were right there at the show~



www.yellowbirdsdonthavewingsbuttheyflytomakeyouexperiencea3dreality.com

[ add comment ] ( 632 views )   |  [ 0 trackbacks ]   |  permalink
For those of you unfamiliar with Prism, I will keep it short and let you read the rest on their website. Mozilla Prism is a piece of software (based off Firefox and which is also available as an Addon to Firefox) that allows you to create a desktop web-application of your favorite web service.

This is a great way to isolate a service, such as Gmail, to be its own application and running separately from all your other Firefox windows, with its own process. I especially like it this way because Gmail will tend to bog down my browser and take up a lot of memory. Now I can just restart the Gmail webapp instead of restarting all of my browser windows.

But back to Prism. Yeah, its great. It produces a lightweight version of Firefox to client the web service. It also supports the ability to have Addon Extensions. They generally work exactly the same as Firefox extensions but with a few differences here and there. By default Firefox extensions wont work for Prism, they need to be altered.


One of my favorite Firefox addons is Greasemonkey. It allows you to have your own custom js scripts to modify webpages to the way you want to view them. I wanted Greasemonkey to be a part of my Gmail webapp, because I have a script that modifies the layout to make room for the Tasks pane. Unfortunately you can't just simply install the default Greasemonkey addon to Prism.

So with the help of this article on Prism extensions and how they differ from Firfox's, I was able to modify the current version of Greasemonkey to make it installable into Prism.


However, after some more searching online, I found teramako's version of Greasemonkey for Prism. This version is much better tweaked for Prism than mine. It has a new method for adding scripts better suited to Prism and got the Greasemonkey status icon working. The only drawback about teramako's version is that it hasn't been packaged in an xpi for install, so its rather un-userfriendly. So for the convenience of others, here is a packaged xpi of teramako's Greasemonkey for Prism:

teramako's Greasemonkey for Prism
My crappy version Greasemonkey for Prism

[UPDATE]:
Here is an updated xpi of teramako's addon. Version 0.8.20090811.2.
For future reference, if you guys want the latest version, you can easily create your own xpi of the addon. Just download all the files from the latest build on teramako's site and use your favorite zip program and add the files to a zip file, then rename the .zip extension to .xpi


[ 4 comments ] ( 2395 views )   |  [ 0 trackbacks ]   |  permalink
Bill Verplank's definition of Interaction Design


[ 2 comments ] ( 6008 views )   |  [ 0 trackbacks ]   |  permalink

<<First <Back | 1 | 2 | 3 | 4 | 5 | Next> Last>>