As I mentioned below, using the annotation expansion in the template
does not work when using w3.  I did see the error in my template and
have fixed it (unnecessary brackets).  I am wondering if there is some
other way to get the title or if it can be added as a feature.

I've changed the post below to reflect the change in my template and
what it returns.

Thanks in advance for any help,
rdc

"Robert D. Crawford" <rd...@comcast.net> writes:

> Matthew Lundin <m...@imapmail.org> writes:
>
>>> I've been trying to make an org-remember template that will grab the
>>> title of the webpage I want to create a link to.  This seems to not be
>>> possible, although I could very well be wrong.  I was curious as to
>>> whether a new keyword could be created for w3 and w3m links.  Seems that
>>> :title would be very useful.
>>
>> When I use w3m, the annotation substitution (%a) in the remember
>> template does the trick. It grabs the url and title of the current page
>> (using org-store-link).
>
> Thanks.  This does work for w3m but using w3 it returns this:

* [[http://www.gnu.org]]                                          :gnu:

> from this template:

'((?b "* %a %^g %!" "~/bookmarks.org" bottom)

> Later today, if I get the chance, I'll explore the solution proposed by
> Sebastian Rose.

As stated in a previous mail, Sebastian's solution works for browsers
outside of emacs.

-- 
Robert D. Crawford                                      rd...@comcast.net

If your mother knew what you're doing, she'd probably hang her head and cry.



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to