Export Article Titles in <a src=''>Article Title</a> Format?

I store URLs in DevonThink by dragging them from the browser URL bar, into DevonThink.

I would like to be able to export them to a text file as HTML links, e.g.:

 <a href = 'https://aWebSite.com/blog/a-url'>Article Title</a>

What is the easiest way to do that with DevonThink?

The “easiest” and only option would be to write a script.

Very good. I’ve written an Applescript that does this with another app and I’d like to duplicate it for DEVONthink. May I ask what is the DEVONthink Applescript command to determine the URL of an article?

Try the following

use AppleScript version "2.4" -- Yosemite (10.10) or later
use scripting additions

tell application id "DNtp"
	set theSelection to the selection as list
	set theCollector to "" as string
	repeat with thisItem in theSelection
		if the URL of thisItem is not "" then
			set printURL to "<a href=\"" & the URL of thisItem & "\">" & the name of thisItem & "</a>"
			set theCollector to theCollector & printURL & "<br>" & return
		end if
	end repeat
	set theDestination to display group selector
	set theReport to create record with {name:"URL Listing", type:html, source:theCollector} in theDestination
end tell

The usual caveats: not tested with your data; might destroy your data; not supported (questions probably won’t get a fast response).

@Vik: Don’t forget to look at the AppleScript dictionary for info on the commands and properties available for use.

Awesome. Thanks very much!

No problem.