small tweaks

This commit is contained in:
Sacha Greif 2015-03-13 15:27:45 +09:00
parent a516c7a99d
commit 6c13989cc3
3 changed files with 5 additions and 3 deletions

View file

@ -7,6 +7,7 @@
* Added Greek translation (thanks @portokallidis!).
* Improved Spanish translation (thanks @brayancruces!).
* Added new callbacks for upvoting and downvoting (thanks @Baxter900 !).
* OP comments now get the `author-comment` CSS class.
## v0.14.2 “FaviconScope”

View file

@ -35,6 +35,7 @@ avatarOptions = {
'profile.github': true,
'profile.twitter': true,
'services.twitter.profile_image_url': true,
'services.twitter.profile_image_url_https': true,
'services.facebook.id': true,
'services.twitter.screenName': true,
'services.github.screenName': true, // Github is not really used, but there are some mentions to it in the code

View file

@ -36,13 +36,13 @@ var handleFeed = function(error, feed) {
feedId: feedId,
feedItemId: item.id,
userId: userId,
categories:categories
categories: categories
}
if (item.description)
post.body = toMarkdown(he.decode(item.description));
// console.log(feed)
// console.log(item)
// if RSS item link is a 301 or 302 redirect, follow the redirect
var get = HTTP.get(item.link, {followRedirects: false});
@ -74,7 +74,7 @@ fetchFeeds = function() {
// if feed doesn't specify a user, default to admin
var userId = !!feed.userId ? feed.userId : getFirstAdminUser()._id;
var categories =feed.categories;
var categories = feed.categories;
var feedId = feed._id;
try {