Code Monkey home page Code Monkey logo

samuelclay / newsblur Goto Github PK

View Code? Open in Web Editor NEW
6.7K 6.7K 987.0 813.03 MB

NewsBlur is a personal news reader that brings people together to talk about the world. A new sound of an old instrument.

Home Page: http://www.newsblur.com

License: MIT License

Python 19.12% HTML 17.74% CSS 7.14% Java 7.56% Objective-C 23.78% JavaScript 16.58% Shell 0.49% Perl 0.51% Ruby 0.02% CoffeeScript 0.12% R 0.01% C 0.01% Swift 1.84% Dockerfile 0.04% SCSS 0.43% Kotlin 3.42% Makefile 0.08% Jinja 0.84% HCL 0.27%
android elasticsearch feed-reader ios mongodb postgresql python redis rss rss-reader

newsblur's Introduction

Introduction

This is a simple static page built with Django. It displays:

  • Recent Twitter status messages, with messages that start with @'s removed. In other words, no replies, only true messages.
  • Recent posts from a feed URL

I built it for samuelclay.com, but it can be used to power any static pages and can serve as a useful template for starting a site with static media (JavaScript, CSS, HTML, etc).

Dependencies

  1. Django: easy_install django
  2. Mark Pilgrim's Feedparser: easy_install feedparser
  3. Python-Twitter: easy_install python-twitter

View live

Samuel Clay - samuelclay.com - [email protected]

newsblur's People

Contributors

alliepape avatar alphacluster avatar blallo avatar caleb-allen avatar da2x avatar daanzu avatar dejal avatar dosiecki avatar fake-name avatar frac avatar heliostatic avatar jbouvier avatar jefftriplett avatar jmath1 avatar jmorahan avatar jv2222 avatar lance0428 avatar lhagan avatar linecutterx avatar louis-pre avatar manderson23 avatar mihaip avatar nriley avatar roycyang avatar samuelclay avatar sbilly avatar shuvashish76 avatar sictiru avatar sv0 avatar zerodogg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

newsblur's Issues

Import/update from Google Reader hangs

I have imported a quite large collection of feeds (191) from Google Reader. Some of them might be dead. The import of the feeds itself worked fine, including the folder structure, but the initial update hangs at 57/191 (29%). There a still a lot of feeds with rotating update arrows besides them in the folder panel, many of them are known to work. The update seems to got stuck at some feed that is not reachable, but I can't see which one it is.

We need some Google Reader sync up in here

I whole heartily think that Google Reader needs a challenger, I ponyed up and got some pro status on newsblur, but I can't use it yet. My feed reading is not chained to one device, or one piece of software.

I really think we need a sync backend, and google reader can be that sync. You can build social on top of google reader, by just "sharing" things into google reader mayby.

Option to open stories in new tab in background

Possible to get an option so that 'o' opens the story in a new tab in the background? Something similar to 'CTRL-left click' or 'middle click' functionality.

I think it would involve wrapping an option around the 'window.focus()' call in the 'open_story_in_new_tab' function from media / js / newsblur / views / story_detail_view.js

Sorry for the lack of a pull request, I haven't dug into how you are handling options yet.

Publicly (unauthenticated) river-of-news RSS export

It would be pretty cool to be able to be able to have an easily accessible RSS feed that is created from all of our subscriptions (the river of news). The benefit of that is simple clients can still use NewsBlur to a minimal degree.

I'd imagine you'd have to create some type of identifier, external to the user ID/name so that they aren't easily guessable. Perhaps also having to opt-in to the feature?

Current goal: There is a really awesome Android widget called Minimal Reader which does support arbitrary RSS/Atom feeds. To give it my curated list of stories (only those with positive rankings) would be a nice treat to the device. (With Blar used for the other stories & a more 'full' experience.)

Phantom unread stories frequently appear

Often, but not always, a feed will fail to be marked as fully read after the last unread story has been seen. Sometimes manifests as a (1) icon re-appearing after the feed has been deemed fully read (i.e. a feed becoming hidden from the list of feeds with unread stories, then returning to the list)... other times, reading the final story simply fails to remove the (1) icon.

Input box appearing in feeds that have <input> in title

about a month ago I noticed this appeared in my reddit.com/r/chrome rss feed

http://www.reddit.com/r/chrome/comments/scxno/input_typedate_working_on_chrome_canary_and/

What struck me as odd was the fact that the title in newsblur had an actual <input> box as opposed to simply printing <input> I sent Samuel Clay an email instead of posting an issue because this seems rather exploitable.

Well fast forward to today and I have received an email from him asking me to post an issue up on github. Here you are! :)

ps heres an image> http://i.imgur.com/9eIyb.png using Firefox 12.0
also this shows up on both dev and regular Newsblur

Add intelligence level to stories

Please add the intelligence level (positive, neutral, and negative) to stories. Currently I have to implement my own intelligence classification algorithm, and my classifications don't line up with what newsblur.com shows.

[deployment] Error "You need to fix django's settings."

Hi, first of all sorry if this isn't the right place where post deployment issues but I was unable to find a forum/mailing list. If any, tell me.

My problem: I'm using Chakra Linux (Archlinux derivate); I've installed all required packages (mongodb, django, celery, mysql, etc).

Now, when I start installation with 'python fabfile.py' I got the following error:

[gcala@chakra NewsBlur]$ python fabfile.py
---> You need to fix django's settings. Enter python and type import settings.

that should be related to django and S3. If I run, as suggested, import settings from python console I read:

import settings
Traceback (most recent call last):
File "", line 1, in
File "settings.py", line 449, in
from local_settings import *
ImportError: No module named local_settings

Does NewsBlur require Amazon S3 account? I have to setup django (which I dunno) before installing NB?

Next Unread button will not load older unread items

I think these are sufficient steps to reproduce:

  • Get a ton of unread items in a single feed (any Gawker Media blog unattended for a day should do the trick)
  • Read items until you've covered more than the initial number of items that load in for a single feed, but don't read all the items
  • Leave Newsblur and wait for more new items to be published in the feed
  • Return to Newsblur, select feed, read the newest items -- but there will still be unread items
  • Click Next Unread -> no response

Duplicate feed items cause second item to be unresponsive.

For example, I subscribe to both the Guardian sports feed and it's TV feed. Sometimes there will be overlap (a story about sport on tv) and the same story will be published to each feed with the same followthrough page. When navigating through the items on my feed, it becomes stuck if it reaches the first of these. Pressing the down button does not skip to the next item, and clicking on the second of the two items has no response.

security concern with scraped pages.

If i am seeing this right, 'original' pages are scraped with /reader/load_feed_page?feed_id= and the js returned is executed at newsblur. What is to stop a malicious site from hijacking a newsblur user's session / other nastiness?

Keep saved articles in original folder

Hi,

Article saving is really great and it would be very cool if saved articles could be kept in a "saved stories" entry in the same folder the original feed is filed and/or duplicate/link folder under the "saved stories" subpane

Thanks

[Feature Request] Ability to save media enclosed in feed items (eg podcasts)

I'm subscribed to a number of MP3 / MP4 / OGG audio and video podcasts that enclose media in the RSS feed. When one of those is in NewsBlur, it gives no indication that a media file exists in the feed item. I'd love it if there was some kind of visual indication that enclosed media existed and a "Save media file" button that let you save the enclosed file to a location of your choice.

Feature request: Filter, showing updated feeds

Pleas could you implement filter(s), which filters-and-show only "updated feeds" in the #left-pane i.e. feednavigation?

This would be a very handy feature, when one has a lot of feeds and folders.
Thanx in advance, you're doing great work!

Feature: Instapaper Support

It would be great to have instapaper support built into NewsBlur, since I like pushing longer articles to instapaper to read on my kindle later.

View shifts unexpectedly during feed refresh

I was doing a lot of intelligence training on a feed, and periodically the feed updated -- I think in reaction to sudden increases in negative filters. However, when the refresh happened, the view made a jerky and unwanted jump down. Any possibility of maintaining the scroll position during this event?

Keyboard Shortcuts

This isn't really an issue, but is there a list of available keyboard shortcuts? I have found /j/k so far. Google Reader provides a nice overview with '?'. Something like that would be helpful.

Maybe you could start a wiki for NewsBlur here on github. People might start to write some documentation. :-)

Modify /reader/add_url API call to accept GET requests as well

This will allow browsers to use NewsBlur as the subscription endpoint for RSS & Atom feeds.

For reference, this is Google's: "http://fusion.google.com/add?feedurl=%u" which will display a page asking the user if they want to subscribe to the feed in iGoogle or Reader, and if they choose Reader, it redirects to the actual reader and the user verifies subscription.

I think a similar model, showing the feed in NewsBlur and asking the user to subscribe would be effective.

Setup issues

I've just got things setup and have added a couple of feeds. It seems as if things are pulled fine, but when they are processed I get the following traceback:

[Nov 26 05:11:14] Traceback (most recent call last):
File "/home/newsblur/newsblur/utils/feed_fetcher.py", line 309, in process_feed_wrapper
ret_feed, ret_entries = pfeed.process()
File "/home/newsblur/newsblur/utils/feed_fetcher.py", line 244, in process
ret_values = self.feed.add_update_stories(self.fpf.entries, existing_stories, verbose=self.options['verbose'])
File "/home/newsblur/newsblur/apps/rss_feeds/models.py", line 624, in add_update_stories
s.save()
File "/home/newsblur/newsblur/apps/rss_feeds/models.py", line 1108, in save
self.story_content_z = zlib.compress(self.story_content)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u201c' in position 1562: ordinal not in range(128)

Add API parameter to request intelligence-filtered list of stories

Please add a parameter to /reader/feed/ to only return stories that match a certain intelligence level. This will greatly simplify my use of the API, as I won't have to make multiple API calls and implement my own pagination just to make sure I show users enough stories on a page.

documentation

It would be great to see some installation instructions.

Feature Request: Login via https

As I sit in a coffeeshop, were it not for my VPN I'd be hesitant to login to NewsBlur, and that's tragic. Could you add https? If you want to put out a tip jar for the cert and extra cpu hours, I'll donate.

"Move to Folder" does not respect folder name change

Steps to reproduce:

  1. Create test folder.
  2. Add new feed (will also work with existing feed, but you may want to use a tester instead).
  3. Rename test folder.
  4. Select "Move to Folder" in feed drop-down (happens for both locations of drop-down, in feed list and in article list).
    -- Expected result: List of folders will reflect current set of folders.
    -- Actual result: Test folder still bears original name.
  5. Select misnamed test folder and click Save.
    -- Acceptable result: Feed is moved to test folder.
    -- Actual result: Feed is completely removed, even after page refresh.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.