emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Title as description in web link
@ 2018-04-06  9:59 Cecil Westerhof
  2018-04-06 18:53 ` Nick Dokos
  0 siblings, 1 reply; 3+ messages in thread
From: Cecil Westerhof @ 2018-04-06  9:59 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 204 bytes --]

I have created some links to web pages. In almost al cases I want the
description to be the title of the page. Is there a way to make the default
description the title of a web page?

-- 
Cecil Westerhof

[-- Attachment #2: Type: text/html, Size: 396 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Title as description in web link
  2018-04-06  9:59 Title as description in web link Cecil Westerhof
@ 2018-04-06 18:53 ` Nick Dokos
  2018-04-06 22:15   ` mediapathic steen
  0 siblings, 1 reply; 3+ messages in thread
From: Nick Dokos @ 2018-04-06 18:53 UTC (permalink / raw)
  To: emacs-orgmode

Cecil Westerhof <cldwesterhof@gmail.com> writes:

> I have created some links to web pages. In almost al cases I want the description to be the title of the
> page. Is there a way to make the default description the title of a web page?
>

Write a function that uses the link to fetch the page and parse it for the title?

I wouldn't be surprised if somebody has already written something like this, but it
should(TM) be fairly easy to roll your own.

-- 
Nick

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Title as description in web link
  2018-04-06 18:53 ` Nick Dokos
@ 2018-04-06 22:15   ` mediapathic steen
  0 siblings, 0 replies; 3+ messages in thread
From: mediapathic steen @ 2018-04-06 22:15 UTC (permalink / raw)
  To: Nick Dokos; +Cc: emacs-orgmode

Someone has indeed: https://github.com/rexim/org-cliplink

It's designed around a linux system, but I am using it just fine on my mac. If you are not on either of those OSs it might still be a good starting point. Alternately/additionally, if you are on a mac, https://orgmode.org/worg/org-contrib/org-mac-link.html has similar functionality. I use both of these regularly. 

Cheers,
-- Steen 

> On Apr 6, 2018, at 11:53 AM, Nick Dokos <ndokos@gmail.com> wrote:
> 
> Cecil Westerhof <cldwesterhof@gmail.com> writes:
> 
>> I have created some links to web pages. In almost al cases I want the description to be the title of the
>> page. Is there a way to make the default description the title of a web page?
>> 
> 
> Write a function that uses the link to fetch the page and parse it for the title?
> 
> I wouldn't be surprised if somebody has already written something like this, but it
> should(TM) be fairly easy to roll your own.
> 
> -- 
> Nick
> 
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-04-06 22:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-06  9:59 Title as description in web link Cecil Westerhof
2018-04-06 18:53 ` Nick Dokos
2018-04-06 22:15   ` mediapathic steen

Code repositories for project(s) associated with this 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).