Skip to content
This repository has been archived by the owner on May 27, 2021. It is now read-only.

Commit

Permalink
Added Spanish support, fixed #4
Browse files Browse the repository at this point in the history
  • Loading branch information
germanattanasio committed Feb 6, 2016
1 parent bc7913d commit 6a2efec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/util/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module.exports = {
id: tweet.id_str,
userid: tweet.user.id_str,
sourceid: 'twitter',
language: 'en',
language: (tweet.lang && (['es','en'].indexOf(tweet.lang) > -1)) ? tweet.lang : 'en',
contenttype: 'text/plain',
content: tweet.text.replace('[^(\\x20-\\x7F)]*',''),
created: Date.parse(tweet.created_at)
Expand Down

0 comments on commit 6a2efec

Please sign in to comment.