History of Convert Pigeonholes to Tags
Version 1 | Current version | |
---|---|---|
You can use the following script if you would like to convert all your pigeonholes to tags. The script gets the content_ids for all your liberty content items at once and then steps through each one, gets its pigeonholes and saves them as tags for that content item. If you have millions or billions of records you may NOT want to get all your liberty content items at once, you may want to do that in steps or something. This script includes parent pigeonholes as tags too - that is to say, for each content item a tag is created for the entire branch of pigeonholes it is leafed on. Proceed with caution, I only tested it minimally and ran it for my own purpose once - it worked, but all caveats apply as usual.
| You can use the following script if you would like to convert all your pigeonholes to tags. The script gets the content_ids for all your liberty content items at once and then steps through each one, gets its pigeonholes and saves them as tags for that content item. If you have millions or billions of records you may NOT want to get all your liberty content items at once, you may want to do that in steps or something. This script includes parent pigeonholes as tags too - that is to say, for each content item a tag is created for the entire branch of pigeonholes it is leafed on. Proceed with caution, I only tested it minimally and ran it for my own purpose once - it worked, but all caveats apply as usual. How to UseCopy the code to a pigeon_to_tags.php file in your pigeonholes directory. Load it in your browser. Ding. Enjoy freshly baked tags.
|