Usage: run --help as an argument with this script.
Notes:
- I added some extra bits to include the [[!tag foo]] stuff in the post,
+ I added some extra bits to include the [[!tag tags/foo]] stuff in the post,
as it wasn't before, at all. I'll diff the versions out so you can see
the mess I made :).
lines.append('')
for tag in post_dict['tags']:
lines.append(
- '[[!tag %s]]' % (tag.replace(' ', '-').replace('/', '-').lower()))
+ '[[!tag tags/%s]]' % (tag.replace(' ', '-').replace('/', '-').lower()))
lines.append('')
data = '\n'.join(lines).encode('utf-8', 'html_replace')
ret = [