MCPcopy Create free account

hub / github.com/samuelclay/NewsBlur / functions

Functions5,735 in github.com/samuelclay/NewsBlur

↓ 8 callersMethodaddSpecialRow
Add a special (non-folder) row to activeFolderNames and blank data to all lists indexed from said list.
clients/android/NewsBlur/app/src/main/java/com/newsblur/database/FolderListAdapter.java:839
↓ 8 callersMethodadd_folder
(self, parent_folder, folder)
apps/reader/models.py:2702
↓ 8 callersFunctionapply_classifier_text_regex
Apply text regex classifiers to a story. Matches content only. Args: classifiers: List of MClassifierText objects with is_regex=True
apps/analyzer/models.py:660
↓ 8 callersFunctionapply_classifier_title_regex
Apply title regex classifiers to a story. Matches title only. Args: classifiers: List of MClassifierTitle objects with is_regex=True
apps/analyzer/models.py:628
↓ 8 callersMethodcheckNegativeUnreads
Utility method to filter out and carp about negative unread counts. These tend to indicate a problem in the app or API, but are very confusing to use
clients/android/NewsBlur/app/src/main/java/com/newsblur/database/FolderListAdapter.java:1106
↓ 8 callersFunctionchild
(post)
apps/rss_feeds/test_reddit_fetcher.py:47
↓ 8 callersMethodclean
(self)
apps/reader/forms.py:45
↓ 8 callersFunctionformat_story_link_date__short
(date, now=None)
utils/story_functions.py:118
↓ 8 callersFunctiongenerate_briefing_summary
Generate an editorial summary of the selected stories. Args: user_id: The user's ID scored_stories: List of dicts from scori
apps/briefing/summary.py:208
↓ 8 callersMethodgetMultipleFeeds
Gets a set of feed IDs iff there are multiples or null otherwise.
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/FeedSet.java:222
↓ 8 callersMethodgetSingleSavedTag
Gets a single saved tag iff there is only one or null otherwise.
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/FeedSet.java:310
↓ 8 callersMethodgetValues
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/domain/Feed.java:82
↓ 8 callersFunctionget_server_url
Return the configured server URL, or the default.
newsblur_mcp/newsblur_mcp/cli/auth.py:59
↓ 8 callersMethodget_stories
(user_id, feed_id, r=None)
apps/reader/models.py:2465
↓ 8 callersMethodget_user
(cls, user_id)
apps/media_player/models.py:86
↓ 8 callersMethodhashCode
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/FeedSet.java:430
↓ 8 callersMethodisRowReadStories
(int groupPosition)
clients/android/NewsBlur/app/src/main/java/com/newsblur/database/FolderListAdapter.java:608
↓ 8 callersFunctionlgammln
Returns the gamma function of xx. Gamma(z) = Integral(0,infinity) of t^(z-1)exp(-t) dt. (Adapted from: Numerical Recipies in C.) Usa
apps/analyzer/archive/lda.py:13
↓ 8 callersFunctionmake_mini_pill
(label, type, sentiment)
media/js/newsblur/reader/reader_classifier.js:917
↓ 8 callersMethodmost_common
List the n most common elements and their counts from the most common to the least. If n is None, then list all element counts. >>>
utils/feed_functions.py:282
↓ 8 callersFunctiono
()
clients/android/NewsBlur/app/src/main/assets/mark.min.js:7
↓ 8 callersFunctionpaginate
Wrap items with pagination metadata.
newsblur_mcp/newsblur_mcp/transforms.py:125
↓ 8 callersFunctionpip
()
archive/fabfile.py:609
↓ 8 callersFunctionpreprocess_feed_encoding
Fix for The Verge RSS feed encoding issues (and other feeds with similar problems). The Verge and other Vox Media sites often serve RSS feed
utils/feed_fetcher.py:82
↓ 8 callersMethodquery_briefing_custom
Search stories by exact phrase within a date range, for briefing custom sections. Wraps the phrase in quotes so ES query_string treats it as
apps/search/models.py:600
↓ 8 callersMethodqueue_new_feeds
(cls, user, new_feeds=None)
apps/reader/models.py:1123
↓ 8 callersMethodrecord
Record a usage event using the same key contract as the MCP server.
apps/statistics/rmcp_usage.py:51
↓ 8 callersFunctionresolve_feed_id
Resolve a feed_id to its original (non-branched) feed_id. Branched feeds share the same original_feed_id, so clustering treats them as the sa
apps/clustering/models.py:207
↓ 8 callersFunctionsafe_regex_match
Safely perform regex matching with timeout protection. Returns True if pattern matches, False otherwise. Uses threading-based timeout (wo
apps/analyzer/models.py:44
↓ 8 callersMethodserialize
(cls, category=None)
apps/categories/models.py:49
↓ 8 callersMethodsetupIntelDialogRow
Takes an inflated R.layout.include_intel_row and activates the like/dislike buttons based upon the provided classifier sub-type map while also setting
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/UIUtils.java:417
↓ 8 callersMethodslot_exists
Check if a briefing has already been generated for this user/slot/date.
apps/briefing/models.py:86
↓ 8 callersFunctionstrip_tags_preserve_blockquote
(html)
utils/story_functions.py:447
↓ 7 callersMethod_aid
(self, url)
apps/rss_feeds/test_reddit_fetcher.py:298
↓ 7 callersFunction_json_response
Return a JSON response.
apps/archive_assistant/views.py:30
↓ 7 callersFunction_make_sample_html
Build valid briefing HTML with <h3 data-section="KEY"> tags. sections_dict maps section_key -> list of (story_hash, title) tuples.
apps/briefing/tests.py:48
↓ 7 callersMethod_parse
(self, address)
apps/rss_feeds/test_reddit_fetcher.py:78
↓ 7 callersMethodadjust_count
(cls, user_id, feed_id=None, tag=None, highlights=None, amount=0)
apps/rss_feeds/models.py:4676
↓ 7 callersFunctionarchivePage
* Archive a page visit
clients/browser-extension/src/background/service-worker.js:289
↓ 7 callersMethodautocomplete
(cls, prefix, limit=10)
apps/rss_feeds/models.py:484
↓ 7 callersMethodcancel_premium_paypal
(self, cancel_older_subscriptions_only=False, force=False)
apps/profile/models.py:2202
↓ 7 callersFunctionclose_list
()
media/js/newsblur/views/archive_view.js:2314
↓ 7 callersFunctioncluster_mode_prefixes
Return (sCL prefix, zCL prefix) for a user's cluster mode. Falls back to the "related" (merged) namespace when the mode is unknown or missing
apps/clustering/models.py:49
↓ 7 callersMethodcomments_with_author
(self)
apps/social/models.py:2286
↓ 7 callersMethodcompareTo
(Feed f)
clients/android/NewsBlur/app/src/main/java/com/newsblur/domain/Feed.java:163
↓ 7 callersFunctioncopy_task_settings
()
archive/fabfile.py:1825
↓ 7 callersFunctionensure_briefing_feed
Ensure a briefing feed exists for the user, creating one if needed. Returns the Feed instance. Follows the newsletter pattern from apps/
apps/briefing/models.py:207
↓ 7 callersFunctionf
(a)
clients/ios/static/zepto.js:2
↓ 7 callersFunctionfind_feeds
(url, check_all=False, user_agent=None)
utils/feedfinder_forman.py:101
↓ 7 callersMethodgetInteractiveSwipeSurface
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/activity/ItemsList.java:1309
↓ 7 callersMethodgetPendingArchives
* Get all pending archives from queue * @returns {Promise<object[]>} Pending archives
clients/browser-extension/src/lib/storage.js:51
↓ 7 callersMethodget_current_window
Return current 5-minute window as string (e.g., '202512161430'). Windows align to 5-minute boundaries (00, 05, 10, 15, ...).
utils/ip_rate_tracker.py:73
↓ 7 callersMethodget_folder_settings_for_user
Get all auto-mark-read settings for a user.
apps/reader/models.py:3423
↓ 7 callersMethodget_image_from_url
(self, url)
apps/rss_feeds/icon_importer.py:391
↓ 7 callersMethodget_user
(cls, user_id, create=True)
apps/search/models.py:65
↓ 7 callersMethodhasUpdated
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/fragment/ItemSetFragment.java:414
↓ 7 callersMethodhash_url
Generate SHA256 hash of normalized URL for deduplication.
apps/archive_extension/models.py:79
↓ 7 callersMethodisTrending
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/FeedSet.java:263
↓ 7 callersFunctionis_youtube_feed_address
Return True only when the URL is actually served by YouTube. Detection keys off the URL host (youtube.com or a youtube subdomain such as www.
utils/feed_functions.py:455
↓ 7 callersMethodlow_volume_feeds
(cls, feed_ids, stories_per_month=30)
apps/rss_feeds/models.py:456
↓ 7 callersMethodmake_feed
(self, feed_address, feed_title)
apps/notifications/tests.py:37
↓ 7 callersMethodmake_story
(self, feed, title, content="Test content", date=None, author=None, tags=None)
apps/briefing/tests.py:136
↓ 7 callersMethodmatches_story
Check if this classifier notification matches a story. Args: story: Story dict with standard fields story_feed_id: Th
apps/notifications/models.py:848
↓ 7 callersFunctionnormalize
(url)
utils/urlnorm.py:47
↓ 7 callersFunctionnormalize_date_filters
Convert date filter strings (YYYY-MM-DD) in the user's timezone into UTC datetimes. Returns a tuple of: (start_utc_inclusive, end_ut
apps/reader/views.py:222
↓ 7 callersMethodprofile
(cls, user_id, include_follows=True)
apps/social/models.py:351
↓ 7 callersMethodreceive
(self, suffix, **overrides)
apps/newsletters/tests.py:49
↓ 7 callersMethodrenderIcon
Render a custom icon to a Bitmap. @param context Android context for loading assets @param icon The custom icon data @param sizePx The desired size i
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/CustomIconRenderer.java:48
↓ 7 callersMethodretrieve_stripe_ids
(self)
apps/profile/models.py:2371
↓ 7 callersFunctionround_time
Round a datetime object to any time laps in seconds dt : datetime.datetime object, default now. round_to : Closest number of seconds to round
apps/statistics/rstats.py:134
↓ 7 callersFunctionrun_cmd
Run a shell command and return output.
clients/ios/run_ios.py:69
↓ 7 callersMethodrun_premium_pricing_migration
Nightly campaign: move grandfathered $12/$24 premium subscribers to the $36 rate as they approach renewal. Stripe subscriptions are switched s
apps/profile/models.py:3811
↓ 7 callersMethodsetTextSize
(float textSize)
clients/android/NewsBlur/app/src/main/java/com/newsblur/web/NewsblurWebview.java:101
↓ 7 callersMethodstory_content
Build the HTML body for a post: selftext, images, and a footer. We request listings with raw_json=1, so selftext_html already contains real
utils/reddit_fetcher.py:433
↓ 7 callersFunctiontriggerGlobal
(a,b,c,d)
clients/ios/static/zepto.js:2
↓ 7 callersFunctiontriggerGlobal
(a,b,c,d)
clients/ios/Resources/zepto.js:2
↓ 7 callersMethodunfollow_user
(self, user_id)
apps/social/models.py:626
↓ 7 callersMethodurl
(self, *args, **kwargs)
utils/pipeline_utils.py:73
↓ 6 callersFunctionH
(a)
clients/ios/static/zepto.js:2
↓ 6 callersFunctionH
(a)
clients/ios/Resources/zepto.js:2
↓ 6 callersMethod_date_key
(cls, date=None)
apps/statistics/rclustering_usage.py:44
↓ 6 callersFunction_error_response
Return a JSON error response.
apps/archive_assistant/views.py:39
↓ 6 callersMethod_generate_guid
Generate a stable GUID for a web-scraped story.
utils/webfeed_fetcher.py:234
↓ 6 callersMethod_get_redis
(cls)
apps/statistics/rclustering_usage.py:40
↓ 6 callersMethod_get_redis
(cls)
apps/statistics/rllm_costs.py:30
↓ 6 callersFunction_json_resource
(data: dict)
newsblur_mcp/newsblur_mcp/resources/resources.py:10
↓ 6 callersMethod_make_feed
(self)
apps/rss_feeds/test_rss_feeds.py:1323
↓ 6 callersMethod_make_mega
Give the user enough subscriptions to exceed the (patched) Premium limit.
apps/rss_feeds/test_rss_feeds.py:1119
↓ 6 callersMethod_make_summary_story
Create a story and return it with its actual computed story_hash.
apps/briefing/tests.py:459
↓ 6 callersMethod_make_title
(self, title, score, feed_id=None, scope="feed", folder_name="")
apps/analyzer/tests.py:1599
↓ 6 callersFunction_mark_stories_read
Mark one or more stories as read.
newsblur_mcp/newsblur_mcp/tools/actions.py:23
↓ 6 callersMethod_patch_fetch
(self, text)
apps/webfeed/tests.py:408
↓ 6 callersFunction_phase_is_stale
Check if a phase marker's timestamp is too old for that phase to still be running.
utils/backups/offsite_status.py:215
↓ 6 callersMethod_popular_titles
(self, **params)
apps/discover/tests.py:61
↓ 6 callersMethod_redis
(cls)
apps/statistics/rtrending_webfeeds.py:30
↓ 6 callersMethod_sanitize_label
Sanitize a string for use as a Prometheus label value.
apps/monitor/views/newsblur_trending.py:253
↓ 6 callersMethod_save_cache
(self, cache)
apps/discover/management/commands/discover_podcasts.py:1266
↓ 6 callersFunction_save_classifier
(ClassifierCls, content_type)
apps/analyzer/views.py:112
↓ 6 callersMethod_scored_from_story
(self, story, category="top_stories", word_count=200)
apps/briefing/tests.py:472
↓ 6 callersMethodadd_to_queue
(cls, user_id, media_item, position=None)
apps/media_player/models.py:119
← previousnext →301–400 of 5,735, ranked by callers