cldellow / datasette-scraper

Add website scraping abilities to Datasette
Apache License 2.0
60 stars 1 forks source link

consider a knob to hide _dss_ tables #5

Closed cldellow closed 1 year ago

cldellow commented 1 year ago

The get_metadata hook and the hidden tables features might work well.

It may actually be useful to expose these? Maybe the way we do stats is by a custom template for rendering these tables?

See, e.g., https://docs.datasette.io/en/stable/custom_templates.html#custom-templates

Unfortunately it looks like if we ship a custom template, it has to have a hardcoded database name. ...unless we can hook that in a plugin somehow?

cldellow commented 1 year ago

I figured out how to do custom templates and am going to lean into them being visible, so closing