From: Alin Soare <as1789@gmail.com>
To: emacs-orgmode@gnu.org
Subject: template to auto complete the imdb entry address.
Date: Sat, 27 Nov 2010 23:43:43 +0000 (UTC) [thread overview]
Message-ID: <loom.20101128T003514-915@post.gmane.org> (raw)
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
next reply other threads:[~2010-11-27 23:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-27 23:43 Alin Soare [this message]
2010-11-28 7:49 ` template to auto complete the imdb entry address Michael Brand
2010-11-28 8:33 ` Alin Soare
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20101128T003514-915@post.gmane.org \
--to=as1789@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).