Red Gregory

View Original

I Made A URL Generator In Notion

There are two URL generator examples below. One requires only a title and another plays with a multi-property url which includes category, date and title. This second database also identifies if a keyword is being used in the url or not.

I use the following formula functions:

Basic URL Generator w/ Title Formula

Manual Labor → insert your website inside formula.

"www.redgregory.com/" + replaceAll(prop("TITLE"), " ", "-")

URL Generator w/ Date, Category, Title Formula

Manual Labor → insert your website inside formula →

"www.redgregory.com/" + prop("Category") + "/" + formatDate(prop("Date"), "M/D/YY") + "/" + replaceAll(prop("TITLE"), " ", "-")

Keyword Check Formula

Manual Labor → insert keyword to check inside Keyword property

contains(prop("URL"), prop("Keyword"))

COPY TEMPLATE