* template to auto complete the imdb entry address.
@ 2010-11-27 23:43 Alin Soare
2010-11-28 7:49 ` Michael Brand
0 siblings, 1 reply; 3+ messages in thread
From: Alin Soare @ 2010-11-27 23:43 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: template to auto complete the imdb entry address.
2010-11-27 23:43 template to auto complete the imdb entry address Alin Soare
@ 2010-11-28 7:49 ` Michael Brand
2010-11-28 8:33 ` Alin Soare
0 siblings, 1 reply; 3+ messages in thread
From: Michael Brand @ 2010-11-28 7:49 UTC (permalink / raw)
To: Alin Soare; +Cc: emacs-orgmode
On Sun, Nov 28, 2010 at 00:43, Alin Soare <as1789@gmail.com> wrote:
> | Domicile conjugal | tt0065651 | 20 | 1970 | France |
> I wish to have a link to imdb web page, and to see only its id (as now).
Would link abbreviations help?
http://orgmode.org/manual/Link-abbreviations.html
e. g. the inline version:
#+LINK: imdb http://www.imdb.com/title/
| Domicile conjugal | [[imdb:tt0065651]] | 20 | 1970 | France |
| Douze hommes en colère | [[imdb:tt0050083]] | 20 | 1957 | Etats Unis |
Michael
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: template to auto complete the imdb entry address.
2010-11-28 7:49 ` Michael Brand
@ 2010-11-28 8:33 ` Alin Soare
0 siblings, 0 replies; 3+ messages in thread
From: Alin Soare @ 2010-11-28 8:33 UTC (permalink / raw)
To: Michael Brand; +Cc: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 794 bytes --]
2010/11/28 Michael Brand <michael.ch.brand@gmail.com>
> On Sun, Nov 28, 2010 at 00:43, Alin Soare <as1789@gmail.com> wrote:
> > | Domicile conjugal | tt0065651 | 20 | 1970 | France |
> > I wish to have a link to imdb web page, and to see only its id (as now).
>
> Would link abbreviations help?
> http://orgmode.org/manual/Link-abbreviations.html
> e. g. the inline version:
>
> #+LINK: imdb http://www.imdb.com/title/
> | Domicile conjugal | [[imdb:tt0065651]] | 20 | 1970 | France |
> | Douze hommes en colère | [[imdb:tt0050083]] | 20 | 1957 | Etats Unis |
>
Great! Link abbreviations are exactly what I asked for.
There is also yasnippet, tha I discovered with this occason , due to org
mode.
http://code.google.com/p/yasnippet/
Thanks a lot.
Alin.
[-- Attachment #1.2: Type: text/html, Size: 1344 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-11-28 8:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-27 23:43 template to auto complete the imdb entry address Alin Soare
2010-11-28 7:49 ` Michael Brand
2010-11-28 8:33 ` Alin Soare
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.