From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alin Soare Subject: template to auto complete the imdb entry address. Date: Sat, 27 Nov 2010 23:43:43 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from [140.186.70.92] (port=47166 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PMUWt-00053B-NZ for emacs-orgmode@gnu.org; Sat, 27 Nov 2010 18:50:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PMUWs-0006eL-LW for emacs-orgmode@gnu.org; Sat, 27 Nov 2010 18:50:07 -0500 Received: from lo.gmane.org ([80.91.229.12]:38145) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PMUWs-0006dl-Fs for emacs-orgmode@gnu.org; Sat, 27 Nov 2010 18:50:06 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PMUWp-0007fm-Ld for emacs-orgmode@gnu.org; Sun, 28 Nov 2010 00:50:03 +0100 Received: from 86.35.172.161 ([86.35.172.161]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Nov 2010 00:50:03 +0100 Received: from as1789 by 86.35.172.161 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Nov 2010 00:50:03 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, I used to keep the list of movies I saw into a html database, but now, after having learned org mode, I want to transform the database into a org mode file. Example of org mode file: | Domicile conjugal | tt0065651 | 20 | 1970 | France | | Douze hommes en colère | tt0050083 | 20 | 1957 | Etats Unis | | Élection | tt0126886 | 20 | 1999 | Etats Unis | | Elephant | tt0363589 | 20 | 2003 | Etats Unis | | Entre les murs | tt1068646 | 20 | 2008 | France | | Ève | tt0042192 | 20 | 1950 | Etats Unis | | Faust | tt0016847 | 20 | 1926 | Allemagne | I wish to ask you what possibilities exists for me to insert on the second column the imdb entry, as easy as possible. I wish to have a link to imdb web page, and to see only its id (as now). If I tape every time [[http://.....id.html][ID]] is too much to type, and I can make errors. I need to insert the id 2 times. Could I define a template, like a function with 1 parameter, and call that function that reads the id, and completes all link, or something like this ? Are the templates useful for what I need here? Apart from templates, are there any other possibilities to have a control over the web link ? Thanks in advance. Alin