welcome safari to the “browser is the platform war”

Uncategorized — Tags: , , — Panayotis @ 12:06

So… Apple anounced yesterday the availability of Safari 3 (beta) for Windows. Why?

Step back for a moment. We are in the begining of a “browser is the platform” war. Adobe has Apollo. Microsoft is pushing Silverlight. Mozilla has not been strong on this, but XUL is a great platform to develop applications on (see Songbird and, correct me if I’m wrong, Joost).

An now Apple with Safari. You may think that Safari is “just a browser”, but I have the impression that Safari will soon be able to control the environment outside the browser. Did you see that “web2.0 addressbook-in-safari demo”? In iPhone, you can call the number you see in the browser just by clicking on it…

IF iPhone does well, then Safari 3 will be a desirable platform to develop upon. Being able to use Safari as a cross-platform (OS X, Windows, mobile) development platform :-) will be a great asset and considering that iPhone will be closed to third party developers it may have a strong advantage.

Removing www. from your websites

Uncategorized — Tags: — Panayotis @ 09:07

Here is a short tip on how to remove “www.” from your sites (and make sure others do not use it too). You will need mod_php (apache) enabled and PHP.

In the default virtual host base directory, make sure you have enabled mod_rewrite (check your Override directives if the following does not work), and add something like this in .htaccess:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.
RewriteRule ^(.*) go.php

Then put in the same directory go.php:
< ?
$g = str_replace('www.','',$_SERVER['HTTP_HOST']) ;
header("Location: http://$g". $_SERVER["REQUEST_URI"]) ;
?>

Google Spreadsheets + World Cup 2006

Uncategorized — Tags: , , — Panayotis @ 14:06

Google Spreadsheets may not be as powerful as Excel, but there are some things that is much better for. Take for example our little intra-company predictions about the World Cup 2006.

Originally, Achilleas created an Excel spreadsheet with all the gamess, then we entered our predictions. The spreadsheet contains formulas that calculate almost everything, except the scores :-) so all he has to do is update the sores after each game and we know who is ahead in our predictions, how many points each team has, etc.

Sharing the Excel spreadsheet was a bit problematic. We would have to use a shfile at the company file server, howevere we have to access to it from outside the company intranet. What’s more, we would have to make sure everyone has Excel installed and check how the spreatsheet formulas work with other simmilar apps like OpenOffice that some (including me) use.

Porting (= uploading and editing by hand some of the formulas) the spreadsheet to Google Spreadsheets turned out to be the (almost) ideal solution. Everything works more or less as if we were using Excel.

WorldCup2006 - Google Spreadsheets.jpg

Pros:

  • Only Achilleas can edit, all others are invited as “view only”
  • Access from everywhere and any time -we just need a browser
  • Real-time updating. Changes appear in (almost) real time to everyone browsing the sheet.
  • It’s free!

Cons:

  • Still beta, some problems appear (as expected), ex. importing XLS with merged cells
  • Still beta, no real EULA between Google and the end-user, can’t be used for “real” applications if you do not know what may happen tomorrow…
  • No graphs/charts (yet?)
  • “Unable to display, more that 4 users viewing this spreadsheet at the same time” error (???)

Bottom-line: I am thrilled with it! It’s still early, but I am convinced more than ever that the Web is a great platform to develop apps -even those that seemed like a natural “desktop” creatures.

Dynamic reading lists

Uncategorized — Tags: , — Panayotis @ 14:02

After I wrote my del.icio.us as feed manager post, I realized that this is not a totaly new idea. It is what Dave Winer calls (dynamic) “Reading Lists”.

Here are some interesting articles on reading lists, opml, etc:

Any other good resources/hacks on this?

del.icio.us as feed manager

Uncategorized — Tags: , — Panayotis @ 23:01

I swutched again to Juice as my podcatcher. One of the coolest Juice features is its ability to syncronize your feed list with a remote OPML URL. An OPML file is actually a list (or nested lists) described in a standard way in XML. In our case, a list of RSS feeds (one for each podcast)

As far as I know, the most popular link managment tool is del.icio.us, a tool I love for its power and simplicity. del.icio.us allow you to export all your links in RSS which is cool. So, I wrote a quick and dirty PHP script that converts this RSS export to an OPML list (see at the end of this post). The script makes use of the excelent MagpieRSS rss/atom parsing library.

Now, let’s say my del.icio.us username is “vrypan2″ and I tag all podcast feeds with the tags “podcast” and “feed”. This is my del.icio.us page, and http://del.icio.us/vrypan2/podcast+feed are my podcast AND feed links.

I just edit my script and set $username=”vrypan2″ and $tag=”podcast+feed”. To make it easier for you to test it, I also installed it at http://vrypan.net/linkblog/delicious2opml.php.

Then I go to Juice -> Preferences ->Feed Manager ->OPML URL and paste the above link.

Now, whenever I add a new link to my del.icio.us account (tagged podcast and feed), Juice will add it to my feedlist!

(The idea could be extended to other applications that use lists of URLs in OPML format. I would also love to see this turn into a service…)

UPDATE: It turned out that the whole thing excited others too. Especially Les, puts down some intersting ideas, read his post Use del.icio.us to build & share Reading Lists?


Here is the PHP script:
< ?php

$username = "vrypan2" ;
$tag = "podcast+feed" ;

header('Content-Type: text/xml') ;
define('MAGPIE_DIR', './inc/');
require_once(MAGPIE_DIR.'rss_fetch.inc');

$url = "http://del.icio.us/rss/$username/$tag/";
$rss = fetch_rss( $url );
// print_r($rss) ;
$items = $rss->items ;
?>
<opml version="1.1">
<head>
<title>del.icio.us list2OPML: < ?= $username ?>/< ?= $tag ?></title>
<link>http://del.icio.us/< ?= $username ?>/< ?= $tag ?></link>
<ttl>3600</ttl>
</head>
<body>
<outline text="del.icio.us 2 OPML">
< ?php
for($i=0; $i<count($items); $i++) {
echo "\t\t\t<outline title=\"{$items[$i]['title']}\" text=\"{$items[$i]['title']}\" type=\"rss\" htmlUrl=\"\" xmlUrl=\"{$items[$i]['link']}\"/> \n" ;
}
?>
</outline>
</body>
</opml>

Yahoo HotJobs Crawling

microformats — Tags: , — Panayotis @ 17:07

From Yahoo! Search blog:

So here’s the scoop… Much like My Yahoo! started knocking down walls a couple years ago by inviting anyone with an RSS feed to the aggregation party, HotJobs is using Yahoo! Search to do something quite similar for on-line job listings. They’re pulling in jobs from around the Internet: company web sites, local job listings, specialized job boards, and so on.

I’d like to see the oposite: a CV microformat? This would allow companies to look for people matching their criteria. Just give people a standard micro format to publish their CV!

Integrating Google Maps into MetroFreeFi.com

Uncategorized — Tags: , — Panayotis @ 13:07

Especially good reading for anyone interested in hacking GoogleMaps by Ryan MacCarthy: Integrating Google Maps into MetroFreeFi.com

Google, Yahoo!, A9 Maps

search engines — Tags: , , — Panayotis @ 11:06

“Mapping news” everywhere!
- Google releasing Google Earth and Google Maps API
- Yahoo! Maps API is released.
- …and so does A9 Maps

Wow! RSS feeds and APIs everywhere! Suddenly, in just a month or so, us developers have so many new tools!

the new Technorati

Uncategorized — Tags: — Panayotis @ 08:06

Technorati has a news face!

Using Feedburner Awareness API

feedburner — Tags: — Panayotis @ 19:06

Feedburner’s Feed Awareness API (read this article at Burning Questions also), allows developers to integrate feed stats to their applications. It gets even better if the feed you are using is a Feedburner “PRO” account. Then you can have views and clicks per item.

Here (look down the page, where this blog is syndicated) is a small example of using the API together with MagpieRSS from PHP. Notice the “views” and “clicks”? They are read using the Awareness API.

The code for the example can be downloaded here: fb_awareness_api_demo.phps.

UPDATE 2005-10-27: I put together a page with all my FeedBurner related code

Next Page »
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.
(c) 2008 vrypan|net|log | powered by WordPress with Barecity