koostudios / couchpress

A super lightweight and modular CMS built on NodeJS, Express and CouchDB
http://couchpress.nodester.com/
MIT License
84 stars 8 forks source link

Tags Support #22

Closed ghost closed 12 years ago

ghost commented 12 years ago

Blog posts can now have tags as a way of categorizing posts. Tags are just words or phrases that you enter as a comma-separated list in the editor. They get converted into an array stored in the blog post document on couchdb, and certain special characters (such as spaces) get converted or deleted to make them both human-readable and url-friendly. For example, a tag of node js gets converted into node-js.

I also enabled viewers to view all posts that contain a given tag.

I'm not sure how I feel about how I incorporated this into the soothe theme, I'm not sure if it fits in very well with the theme.

Check it out, let me know how you feel. I'm new to github, and have little experience with git, so bear with me.

alejandro commented 12 years ago

One last thing. Do you mind create a new branch for this changes then switch to master and do a git pull http://github.com/koostudios/couchpress master , to update the local changes of CouchPress, then rebase your branch? Can you do this or do you want me to do it?

ghost commented 12 years ago

I'll do it, that's a good learning experience for me.

alejandro commented 12 years ago

Yeah becuase in my side I got a "This pull request cannot be automatically merged." warning. Also please test it first. I've had problems when I try to merge it in my side ;)

ghost commented 12 years ago

Ok, I rebased it, and now the tag support is on my master branch, pretty sure everything will work now, except that this pull request is still for the tags branch and not my master...

alejandro commented 12 years ago

OK! I'll cherry pick your commits...

alejandro commented 12 years ago

Cherry Picked on e43d6042,

Thanks!