auto-tag

From IndieWeb
Revision as of 20:39, 2 January 2019 by Tantek.com (talk | contribs) (stub auto-tag)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


An auto-tag function is code that detects plain text tags (typically hashtags) and automatically marks up them with microformats tagging markup as a p-category in his notes, photos, and reply posts.

Why

Writing plain text (typically inline in content) hashtags are much more popular than any formal tagging / categorizing system, thus it makes sense to provide a function that detects plain text hashtags and formally marks them up for at a minimum consumption by parsers explicitly looking for tags/categories, and possibly even auto-linking them to hashtag aggregation pages.

IndieWeb Examples

Tantek

Tantek Çelik has an experimental "auto_tag" function he uses to convert

  • #hashtag to #<span class="p-category auto-tag">hashtag</span>

Open Source

None yet.

See Also