You are viewing a single comment's thread from:

RE: Hivescript for canonical links and SEO

in HiveDevs4 years ago (edited)

Would adding Dblog/Engrave be another thing? It'd require some new additions.

Here's an example of a dblog post on the block explorer : https://hiveblocks.com/engrave/@rishi556/welcome-to-my-blog.

In the metadata, there's a key engrave with value {"domain":"rishi.dblog.org","permlink":"welcome-to-my-blog". That pretty much is all thats needed for it.

Format could be :

"Dblog": {
    "name": "Dblog",
    "homepage": "https://dblog.org/",
    "url_scheme": "https://{domain}/{permlink}"
  }

Frontends can pretty easily pull the domain from the metadata. But due to its unique nature, I didn't make a PR for it yet.

Sort:  

It will require coordination on all frontends, I would suggest you to create PR for hivescript and then create issue on all frontend repositories so they can follow up and make changes accordingly.