Archive for the ‘coding’ Category

YAHOO! Pipe: building data mashups

Sunday, November 15th, 2009

I am really enjoying YAHOO! Pipe.

In just few minutes you are able to build Web-based apps from various sources, and then publish those applications.

On YAHOO! Pipe website there are lot of examples that you can take and edit. It is so easy. You can even mashup the YAHOO! Map with any other data that you like.

Pipes is a hosted service that lets you remix feeds and create new data mashups in a visual programming environment. The name of the service pays tribute to Unix pipes, which let programmers do astonishingly clever things by making it easy to chain simple utilities together on the command line.

Its creators: Pasha Sadri, Ed Ho, Jonathan Trevor, Kevin Cheng and Daniel Raffel of Yahoo!

Have a look!

Ciao,

Marco :)

Share/Save/Bookmark

VN:F [1.7.5_995]
Rating: 9.3/10 (3 votes cast)
VN:F [1.7.5_995]
Rating: +1 (from 1 vote)

Upgraded to WordPress 2.8.6

Sunday, November 15th, 2009

Hi there,

this is a short post just to let you know that I just upgraded to the latest version of WordPress: WordPress 2.8.6.

Please if you notice something funny or not working on my website, a message/comment would be very much appreciated.

PS

Tweetboard is amazing! And the Tweetboard support team is just GREAT!

Thanks,

Marco :)

Share/Save/Bookmark

VN:F [1.7.5_995]
Rating: 0.0/10 (0 votes cast)
VN:F [1.7.5_995]
Rating: 0 (from 0 votes)

Very basic example of tracking (no cookies in this case)

Sunday, November 8th, 2009

Hi everybody,

thanks for reading this post.

Here is an example of basic tracking.

I used javascript and some php.

If you click on the link below (please be aware that is just a rough page!!! don’t expect a web designer work for this :) ) you will be redirected on a page where the basic of tracking is shown.

Actually you will be given information about the browser that you are using (even though this info is not 100% accurate – but one of the javascript object.property is quite accurate: navigator.userAgent), then you will be given your IP address (which most of the times helps in understanding your location or nearby you – e.g. this would be extremely helpful for geo-targeting, even though other data could be used), and again couple of “unique” IDs will be set up on the fly for you. One of these IDs is built in javascript (gathering info from your machine) and the other one is coded in php (using the information on the server).

At a first impact these 2 IDs would seem useless (because these IDs continuosly change each time that anyone refresh or access that page), but actually if these IDs are linked and triggered with a rare event on the website, they can be extremely useful for additional purposes.

On the top of it, a detection about your cookies is also done (just checking if your cookies are on or not).

PS Make sure javascript in your browser is enabled, otherwise you will get a message suggesting you to enable javascript in your browser (don’t worry, no data collection is done in this case).

http://www.marcodecesaris.com/javascript-doc.html

In one of the future posts, I will also set up cookies (which is fundamental for any kinds of proper tracking). For now (if you want to have a look at how cookies are set up and work), please feel free to check it here: this is a basic example of using javascript and if you complete the quiz and then access this page again, you will understand how the cookie works. Feel free to have a look atthe code as it is fully commented.


Share/Save/Bookmark

VN:F [1.7.5_995]
Rating: 0.0/10 (0 votes cast)
VN:F [1.7.5_995]
Rating: 0 (from 0 votes)

How to embed video from youtube in valid xhtml transitional using tag ‘object’

Saturday, August 23rd, 2008

Hi there,

I had a problem embedding video from youtube in my blog. Myblog was perfectly valid in xhtml transitional, but once i embedded the video it didn’t validate anymore.

This was the original code from youtube:

<object classid=”clsid:d27cdb6e-ae6d-11cf-96b8-444553540000″ width=”425″ height=”344″ codebase=”http://download.macromedia.com/pub/shockwave/cabs/
flash/swflash.cab#version=6,0,40,0″><param name=”allowFullScreen” value=”true” /><param name=”src” value=”http://www.youtube.com/v/Z-DVi0ugelc&hl=en&fs=1″ />
<embed type=”application/x-shockwave-flash” width=”425″ height=”344″ src=”http://www.youtube.com/v/Z-DVi0ugelc&hl=en&fs=1″ allowfullscreen=”true”></embed>
</object>

The code above doesn’t validate in xhtml transitional. (more…)

Share/Save/Bookmark

VN:F [1.7.5_995]
Rating: 0.0/10 (0 votes cast)
VN:F [1.7.5_995]
Rating: -1 (from 1 vote)