Journal comes with links I don't want

Journaling comes with links to NY TImes which is a pay service - I do not want to see those daily news, and I see no way to get rid of them

There’s no NY Times links in my journal notes

It would be useful if you share how you are journaling
I suspect you create journal notes by launching the DT journal template
which includes script code for the NY Times
In which case, you might want to create your own templatec

Yes, template
Daily Journal: Markdown or Text, what is the difference?

You can make your own template. I searched this forum for you and quickly found:

The little magnifying glass icon, upper right, is useful.

2 Likes

To get you started, I modified the AppleScript to return headlines as Markdown links, and changed the source to news.google.com. I also added and additional fetch of a few headlines from an SF Bay-local news feed.

property headerColor : {40000, 20000, 0}
property blackColor : {0, 0, 0}
property dateColor : {30000, 30000, 30000}
property numHeadlines : 4

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

tell application "Finder" to set pathToAdditions to ((path to application id "DNtp" as string) & "Contents:Resources:Template Script Additions.scpt") as alias
set helperLibrary to load script pathToAdditions

tell application id "DNtp"
	set myNews to {}
	try
		set getNewsSource to download markup from "https://news.google.com/rss?hl=en-US&gl=US&ceid=US:enl"
		-- set getNewsSource to download markup from "feed://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml"
		set getNewsFeed to items 1 thru numHeadlines of (get items of feed getNewsSource)
		repeat with theItems in getNewsFeed
			set end of myNews to "[" & title of theItems & "]"
			set end of myNews to "(" & link of theItems & ")"
		end repeat
	end try
	try
		set getNewsSource to download markup from "https://www.sfgate.com/bayarea/feed/bay-area-news-429.php"
		set getNewsFeed to items 1 thru numHeadlines of (get items of feed getNewsSource)
		repeat with theItems in getNewsFeed
			set end of myNews to "[" & title of theItems & "]"
			set end of myNews to "(" & link of theItems & ")"
		end repeat
	end try
	return myNews
end tell

Note: this script is actually a stand-alone, as I actually assemble my journal entries using components generated by Keyboard Maestro. But you can see how it’s done and roll your own DEVONthink template.

2 Likes