stucco-software / octothorp.es

Hashtags for Websites
https://octothorp.es
6 stars 0 forks source link

Register with an arbitrary number of servers in script configuration #4

Closed nimdaghlian closed 6 months ago

nimdaghlian commented 6 months ago

As a developer implementing octothorpes on my own webpage, I should be able to set an arbitrary number of servers to send and receive octothorpe data to and from in one place. Something like:

<script async="" defer="" type="module" register={ octothorp.es, kottke.org } src="https://octothorp.es/tag.js">
nikolaswise commented 6 months ago

decided on syntax:

      <script
        async=""
        defer=""
        data-register="
            https://octothorp.es,
            https://good.example.com
        "
        type="module"
        src="/tag.js"></script>