simonw / simonwillisonblog

The source code behind my blog
https://simonwillison.net/
Apache License 2.0
204 stars 19 forks source link

Context field for quotations #496

Closed simonw closed 1 month ago

simonw commented 1 month ago

I want the option to add a little bit of extra text (actually Markdown) to a quotation - for the person's relevant job title or to provide an extra link. I'm going to call it context.

simonw commented 1 month ago

Using this to clean up existing ones that have , or ( in them:

https://simonwillison.net/dashboard/?sql=select+%27https%3A%2F%2Fsimonwillison.net%2Fadmin%2Fblog%2Fquotation%2F%27+%7C%7C+id+%7C%7C+%27%2Fchange%2F%27%2C+source%2C+quotation+from+blog_quotation+where+source+like+%27%25%25%2C%25%25%27+or+source+like+%27%25%25%28%25%25%27%3AkSF7z_7kKgMtYnwbk99ffOOuf8v_bLoPdof0dz60IM0

select 'https://simonwillison.net/admin/blog/quotation/' || id || '/change/',
source, quotation
from blog_quotation
where source like '%%,%%' or source like '%%(%%'
simonw commented 1 month ago

https://simonwillison.net/search/?type=quotation

CleanShot 2024-10-11 at 06 26 58@2x