Method: Ubiquitously::Tweako::Post#tokenize
- Defined in:
- lib/ubiquitously/services/tweako.rb
#tokenize ⇒ Object
Either your first 400 characters will be used, or you can determine where the teaser ends by starting a new paragraph before the first 400 characters. Make sure there is no text formatting or images in the teasers!
A comma-separated list of terms describing this content. Example: photoshop, free software. Limit the amount of terms to a maximum of 6. Please choose relevent and descriptive terms. Enter tags in ALL lower-case letters, and ensure spelling is correct.
25 26 27 28 29 30 |
# File 'lib/ubiquitously/services/tweako.rb', line 25 def tokenize super.merge( :description => self.description[0..400], :tags => self.[0..6].taggify(" ", ", ") ) end |