MCPcopy Create free account

hub / github.com/samuelclay/NewsBlur / functions

Functions5,735 in github.com/samuelclay/NewsBlur

↓ 23 callersMethodflatten_folders
(self, feeds=None, inactive_feeds=None)
apps/reader/models.py:2731
↓ 23 callersFunctionget_authenticated_client
Load the stored OAuth token and create an authenticated NewsBlurClient. Uses the server URL from config (set via --server or `newsblur auth login
newsblur_mcp/newsblur_mcp/cli/runner.py:87
↓ 23 callersFunctionrender
Route output to the appropriate formatter based on CLI flags.
newsblur_mcp/newsblur_mcp/cli/output.py:31
↓ 23 callersFunctionvalidate_public_url
(url)
utils/url_safety.py:31
↓ 23 callersMethodzrange
(self, key, *args, **kwargs)
apps/reader/test_river_stories.py:1666
↓ 22 callersMethodget_response
Decompress and return response.
apps/archive_assistant/models.py:85
↓ 22 callersMethodis_feed
(self, url)
utils/feedfinder_forman.py:70
↓ 22 callersMethodput
(String url, Bitmap bitmap)
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/MemoryCache.java:33
↓ 22 callersMethodsetupToolbar
Set up our customised ActionBar view that features the specified icon and title, sized away from system standard to meet the NewsBlur visual style.
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/UIUtils.java:186
↓ 22 callersFunctiontitle_significant_words
Extract significant (non-stopword) words from a normalized title. Filters out purely numeric tokens (e.g. '2026', '17') which cause date-base
apps/clustering/models.py:173
↓ 21 callersMethodgetFeed
Get the cached Feed object for the feed at the given list location.
clients/android/NewsBlur/app/src/main/java/com/newsblur/database/FolderListAdapter.java:952
↓ 20 callersFunction_opt_element
(handler, name, obj)
utils/PyRSS2Gen.py:45
↓ 20 callersMethodcloseQuietly
(@Nullable Cursor c)
clients/android/NewsBlur/app/src/main/java/com/newsblur/database/BlurDatabaseHelper.java:1861
↓ 20 callersMethodcount_queries
Count SQL, Redis, and Mongo queries from connection.queriesx. Returns dict with counts: { 'sql': int,
apps/reader/test_river_stories.py:132
↓ 20 callersMethodfind_story
(cls, story_feed_id=None, story_id=None, story_hash=None, original_only=False)
apps/rss_feeds/models.py:3797
↓ 20 callersMethodgetFeedSet
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/fragment/ItemSetFragment.java:410
↓ 20 callersMethodpost
(self, path: str, data: dict | None = None)
newsblur_mcp/newsblur_mcp/client.py:78
↓ 20 callersFunctionsafe_requests_get
(url, **kwargs)
utils/url_safety.py:49
↓ 19 callersFunction_element
(handler, name, obj, d={})
utils/PyRSS2Gen.py:32
↓ 18 callersMethodES
Get or create Elasticsearch client.
apps/archive_extension/search.py:25
↓ 18 callersMethodadd
( cls, gift_code=None, duration=0, gifting_user_id=None, receiving_use
apps/profile/models.py:5000
↓ 18 callersMethodadd
(cls, title, description)
apps/categories/models.py:45
↓ 18 callersFunctionapply_classifier_tags
(classifiers, story, folder_feed_ids=None)
apps/analyzer/models.py:816
↓ 18 callersFunctionformat_story_link_date__long
(date, now=None)
utils/story_functions.py:131
↓ 18 callersMethodget_feeds
Get the authenticated user's feeds via /reader/feeds.
newsblur_mcp/newsblur_mcp/client.py:54
↓ 18 callersMethodindex
(cls, feed_id, title, address, link, num_subscribers, content_vector)
apps/search/models.py:1282
↓ 18 callersMethodrawQuery
Invoke the rawQuery() method on our read-only SQLiteDatabase memeber using the provided CancellationSignal only if the device's platform provides supp
clients/android/NewsBlur/app/src/main/java/com/newsblur/database/BlurDatabaseHelper.java:1889
↓ 18 callersMethodremove
(cls, follower_user_id, followee_user_id)
apps/social/models.py:3812
↓ 18 callersMethodupdate
Like dict.update() but add counts instead of replacing them. Source can be an iterable, a dictionary, or another Counter instance. >
utils/feed_functions.py:315
↓ 17 callersFunction_check_archive_access
Check if user has access to the Archive Extension feature. Returns (has_access, error_message). All authenticated users can ingest conte
apps/archive_extension/views.py:49
↓ 17 callersMethodadd
(cls, feed_id, fetch_type, date=None, message=None, code=None, exception=None)
apps/rss_feeds/models.py:4909
↓ 17 callersMethodcalculate_feed_scores
(self, silent=False, stories=None, force=False)
apps/reader/models.py:1717
↓ 17 callersMethoddoc_type
(cls)
apps/search/models.py:1195
↓ 17 callersFunctionget_classifiers_for_user
( user, feed_id=None, social_user_id=None, classifier_feeds=None, classifier_authors=None,
apps/analyzer/models.py:1195
↓ 17 callersMethodget_river_cache_keys
Generate consistent cache key names for river stories. This helper ensures cache creation and deletion use identical keys. Args:
apps/reader/models.py:637
↓ 17 callersMethodinit
* Initialize the API client, loading token and server URL from storage
clients/browser-extension/src/lib/api.js:15
↓ 17 callersMethodrecord
(cls, email_type, receiver_user_id, sending_user_id=None)
apps/profile/models.py:4729
↓ 17 callersMethodsave
(self, *args, **kwargs)
apps/rss_feeds/models.py:3635
↓ 17 callersMethodsubs_for_feeds
(cls, user_id, feed_ids=None, read_filter="unread")
apps/reader/models.py:145
↓ 16 callersMethod_save_cache
Save newsletter results to cache.
apps/discover/management/commands/discover_newsletters.py:822
↓ 16 callersMethodadd_subscription
Record a subscription event for a feed.
apps/statistics/rtrending_subscriptions.py:61
↓ 16 callersFunctionassign_digitalocean_roledefs
(split=False)
archive/fabfile.py:150
↓ 16 callersMethodcancel
(Context context, int nid)
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/NotificationUtils.java:167
↓ 16 callersMethodlist
(self)
archive/munin/munin/__init__.py:84
↓ 16 callersMethodquery
Search for feeds by text matching on title, feed_address, and link. Uses a combination of: - Exact match on title (highest w
apps/search/models.py:1304
↓ 16 callersMethodrecord_usage
(self, question_id=None, story_hash=None, request_id=None, cached=False)
apps/ask_ai/usage.py:42
↓ 16 callersFunctionselect_briefing_stories
Select the most important stories for a user's briefing and categorize them by reader value (why the user should read them). Scoring fac
apps/briefing/scoring.py:32
↓ 16 callersMethodtotal_seconds
Implements Python 2.7's datetime.timedelta.total_seconds() for backwards compatibility with Python 2.5 and 2.6.
utils/mongoengine_fields.py:34
↓ 15 callersMethod_set_state
(self, **kwargs)
apps/profile/test_profile.py:208
↓ 15 callersMethod_start_patches
Returns the started mocks as a dict keyed by the attribute name we care about.
apps/profile/test_profile.py:186
↓ 15 callersMethodactivate_archive
(self, never_expire=False)
apps/profile/models.py:826
↓ 15 callersMethodadd_read_time
Add read time for a story. Filters out reads < 3 seconds. Updates story-level, feed-level, and story index aggregates.
apps/statistics/rtrending.py:89
↓ 15 callersMethodcount_subscribers
(self, recount=True, verbose=False)
apps/rss_feeds/models.py:1133
↓ 15 callersMethodget_content
Decompress and return content.
apps/archive_extension/models.py:160
↓ 15 callersMethodget_or_create
Get or create settings for a user.
apps/archive_extension/models.py:472
↓ 15 callersMethodget_trending_feeds
Get top trending feeds based on accumulated read time over past N days.
apps/statistics/rtrending.py:149
↓ 15 callersMethodsplit_story_hash
(cls, story_hash)
apps/rss_feeds/models.py:3884
↓ 15 callersMethodupdate
Update an indexed archive document. Args: archive_id: Archive document ID **fields: Fields to update (title,
apps/archive_extension/search.py:173
↓ 15 callersMethodupdate_one
(popular_feed)
apps/discover/management/commands/bootstrap_popular_feeds.py:414
↓ 14 callersMethod_make_request
(self, method, bucket="", key="", query_args={}, headers={}, data="", metadata={})
utils/S3.py:235
↓ 14 callersFunctionapply_classifier_texts
Apply text classifiers to a story (non-regex only). Args: classifiers: List of MClassifierText objects story: Story dict wit
apps/analyzer/models.py:589
↓ 14 callersFunctioncompute_story_score
( story, classifier_titles, classifier_authors, classifier_tags, classifier_feeds, cla
apps/analyzer/models.py:458
↓ 14 callersMethodexecute
(self)
archive/munin/munin/redis.py:42
↓ 14 callersMethodfetch
(self, skip_save=False, return_document=False, use_mercury=True)
apps/rss_feeds/text_importer.py:58
↓ 14 callersFunctionfind_title_clusters
Group stories by title similarity across different feeds. Uses two tiers: 1. Exact normalized title match (fast, O(n)) 2. Significant-wor
apps/clustering/models.py:218
↓ 14 callersMethodfinish
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/activity/ItemsList.java:1130
↓ 14 callersMethodformat_story
(cls, story_db, feed_id=None, text=False, include_permalinks=False, show_changes=False)
apps/rss_feeds/models.py:2621
↓ 14 callersMethodget
(self, key, default=None)
utils/webfeed_fetcher.py:297
↓ 14 callersMethodgetSettings
* Get user settings * @returns {Promise<object>} Settings object
clients/browser-extension/src/lib/storage.js:145
↓ 14 callersMethodnormalize
(story_hash)
apps/reader/test_river_stories.py:1372
↓ 14 callersFunctionnormalize_section_key
Normalize a section key to match VALID_SECTION_KEYS. 1. Lowercase and strip whitespace 2. Replace hyphens with underscores 3. Collap
apps/briefing/summary.py:13
↓ 14 callersMethodsetTextSize
(float textSize)
clients/android/NewsBlur/app/src/main/java/com/newsblur/database/FolderListAdapter.java:1127
↓ 14 callersMethodto_json
(self)
apps/reader/models.py:3274
↓ 14 callersFunctionupdateCount
(selector, count)
media/js/newsblur/reader/reader_classifier.js:4610
↓ 13 callersMethod_fetcher
(self)
apps/rss_feeds/test_reddit_fetcher.py:409
↓ 13 callersMethodactivate_pro
(self, never_expire=False)
apps/profile/models.py:926
↓ 13 callersFunctionadb_cmd
( runtime: RuntimeConfig, args: list[str], description: str | None = None, *, serial: str
clients/android/run_android.py:224
↓ 13 callersFunctionapply_classifier_authors
(classifiers, story, folder_feed_ids=None)
apps/analyzer/models.py:767
↓ 13 callersFunctionapply_classifier_urls
Apply URL classifiers to a story (non-regex only). Args: classifiers: List of MClassifierUrl objects story: Story dict with
apps/analyzer/models.py:695
↓ 13 callersMethodarchive_page
Archive a page, handling deduplication and updates. Returns tuple: (archive, created, updated) - archive: The MArchivedStory
apps/archive_extension/models.py:171
↓ 13 callersFunctioncountItems
(items, type, feed_id)
media/js/newsblur/reader/reader_classifier.js:4461
↓ 13 callersMethodfeed_stories
( cls, user_id, feed_ids=None, offset=0, limit=6, order="newes
apps/reader/models.py:740
↓ 13 callersMethodfetch
Uses requests to download the feed, parsing it in feedparser. Will be storified later.
utils/feed_fetcher.py:222
↓ 13 callersFunctiongetExtensionAPI
()
clients/browser-extension/src/shared/utils.js:35
↓ 13 callersMethodgetSearchQuery
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/FeedSet.java:343
↓ 13 callersMethodgetSingleFeed
Gets a single feed ID iff there is only one or null otherwise.
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/FeedSet.java:214
↓ 13 callersMethodi
(Object src, String m)
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/Log.java:63
↓ 13 callersMethodisRowAllSharedStories
(int groupPosition)
clients/android/NewsBlur/app/src/main/java/com/newsblur/database/FolderListAdapter.java:584
↓ 13 callersMethodmark_feed_as_read
Mark a list of feeds as read. Takes an array of feeds.
archive/api/newsblur.py:277
↓ 13 callersFunctionnormalize_url
Normalize a URL by removing tracking parameters, fragments, and standardizing format. Args: url: URL string to normalize Return
apps/archive_extension/matching.py:82
↓ 13 callersMethodrun
(self, text, storyid)
apps/analyzer/phrase_filter.py:9
↓ 13 callersMethodstory_hashes
( cls, user_id, feed_ids=None, usersubs=None, read_filter="unread",
apps/reader/models.py:175
↓ 12 callersMethod_add_payment
(self, amount, days_ago=10, provider="stripe", refunded=None, user=None)
apps/profile/test_profile.py:740
↓ 12 callersFunction_debuglog
(message)
utils/feedfinder_pilgrim.py:78
↓ 12 callersFunctionapply_classifier_url_regex
Apply URL regex classifiers to a story. Matches permalink URL only. Args: classifiers: List of MClassifierUrl objects with is_regex=
apps/analyzer/models.py:735
↓ 12 callersMethodcount_follows
(self, skip_save=False)
apps/social/models.py:539
↓ 12 callersMethodcreate_elasticsearch_mapping
(cls, delete=False)
apps/search/models.py:1201
↓ 12 callersMethodequals
(Object o)
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/FeedSet.java:409
↓ 12 callersMethodfromJson
(String json)
clients/android/NewsBlur/app/src/main/java/com/newsblur/domain/Story.java:500
↓ 12 callersMethodgenerate_url
(self, method, bucket="", key="", query_args={}, headers={})
utils/S3.py:393
← previousnext →101–200 of 5,735, ranked by callers