XF 2.1 Any approach to mass-import tags ?

markus68

Active member
Hi,
I have about 800+ tags to import. Unfortunately the tag-stuff is not exposed via REST Api.

So I thought of directly putting it into the xf_tag table, as only two fields have to be filled. Main question is: what are the rules where a tag like "Star Trek: The Next Generation" is normalized and how is the tag_url field generated ? I would use some shell-scripting to prepare the data and load it up.

The other option would be to code an addon and call the methods normalizeTag() from Tag.php in Repo - but that is beyond my skills ....

Thanks,
-Markus
 
Top