[MC] News Aggregator

[MC] News Aggregator 1.2.1

No permission to buy ($25.00)
News Aggregator 1.2.1 adds an admin permission for its AdminCP pages, gives the source filter larger touch targets and keeps feed fetching working on XenForo 2.3.14.

Changelog

Improvements
  • New admin permission, Manage news sources. The AdminCP pages used to open for every admin; they now need this permission.
  • Source filter pills are 40px tall on touch screens, so they are easier to tap. Desktops are unchanged.
  • The feed fetch status reads "Fetching news feeds" without the trailing dots
  • On XenForo 2.3.14 and later, the guest page cache can serve the news index redirects

Bug fixes
  • Feed fetching keeps working on XenForo 2.3.14, and on sites where another add-on replaces XenForo's HTTP client

Upgrade notes
  • The upgrade gives the new admin permission to every admin with the Manage threads and posts permission. Check Users > Administrators if other admins need it.

Documentation
News Aggregator 1.2.0 adds news pages: named pages that each show their own set of sources, listed under the News feed tab. You can make any page the news index, or hide the All news view altogether. The feed, widget and admin lists are redesigned to match each other, with new style properties to tune them, and feed fetching is more reliable and more secure.

Release highlights
  • News pages, each with its own sources and navigation link
  • Any news page can be the news index, and All news can be hidden
  • A pause button on the Headlines ticker
  • Safer, steadier feed fetching

Changelog

New features
  • News pages: create pages such as "Gaming news" or "Hardware", each with its own title, description and sources. Every enabled page gets its own address and a link under the News feed tab, after All news.
  • News index page option: display a news page at the news index instead of All news. All news then moves to its own address with its own link.
  • Display All news option: turn the All news view off, so the news index shows your chosen page, or the first enabled page. Both options appear once you have created a news page.
  • The Latest news widget can follow a news page and show that page's sources
  • Sources list shows how often a feed answered "not modified" (cache hits), with the ETag and Last-Modified values in a tooltip, and a footer with the last fetch run: how many sources, how long it took and how many ran at once
  • News items list footer shows how many items the last prune removed
  • Ticker pause and play button, remembered on the visitor's next pages. The ticker also pauses while it is hovered or focused, and does not play on its own for visitors who prefer reduced motion.
  • New style properties: Color source names, Display source filter, Display page navigation above the feed, Source dot size, News ticker height, Feed item meta line and Feed item source name

Improvements
  • News feed pages use the address news-feeds/, through a route filter you can change or remove in Setup > Route filters. Links to the old mc_na/ address keep working.
  • The feed, news pages and Latest news widget share one design: a line with the source dot, source name and date, then the title and description
  • Source pills are hidden when there is only one source to pick
  • Source pills use each source's colour while keeping the text readable, and the selected pill fills with its source's colour
  • Story titles are headings, links that open a new tab say so to screen readers, and each ticker headline shows its source's name
  • The AdminCP News pages and News sources lists share one toolbar layout and show each source's colour
  • Fetch errors in the sources list show as a red Error label, with the message readable from the keyboard
  • A failing source now waits for its fetch schedule before trying again, instead of retrying every 10 minutes
  • Keyword filters match words with accents and symbols, such as "café" or "C++"
  • Feed redirects are followed only when every step points to a public address, and oversized feeds are stopped while they download
  • The news sub-navigation and ticker load from cache, and deleting a source with thousands of stories is now a single quick step

Bug fixes
  • One article with a broken date or a very long link no longer stops the rest of its feed importing
  • Stories without their own image no longer borrow the first image in the feed
  • Links in a feed that are not web addresses are no longer imported
  • A story filtered out by one source's allowed categories no longer marks another source's copy as a duplicate
  • Duplicates stay hidden after the story they copied is pruned
  • A feed that answers "not modified" resets the source's error count, so a working source is not disabled
  • Filtering the feed by a source that does not exist shows a not found page
  • Keyword filters with accented characters are no longer cut mid-character, and the same keyword can no longer be added twice

Screenshots

mc_na_v1_2_0_01_news_page.webp
Each news page shows its own sources, with a link under the News feed tab.​

mc_na_v1_2_0_02_pages_admin.webp
Create news pages and choose which sources each one shows.​

mc_na_v1_2_0_03_index_options.webp
Make a news page the index, or hide All news altogether.​

mc_na_v1_2_0_04_source_pills.webp
Source pills take each source's colour, and the selected pill fills with it.​

mc_na_v1_2_0_05_ticker_pause.webp
The Headlines ticker has a pause button, and remembers when a visitor pauses it.​

mc_na_v1_2_0_06_sources_admin.webp
The sources list shows cache hits and how long the last fetch run took.​

Upgrade notes
  • Requires [MC] Core Library 1.0.3 or later
  • The upgrade adds a news-feeds/ route filter, unless you already have a route filter for mc_na/
  • If you customized the source pill style properties, the selected pill now uses your style's primary button colours by default. Styles that changed these properties keep their values

Documentation
News Aggregator 1.1.2 fixes the Allowed categories setting on sources, so feeds that tag their articles import again, and gives the ticker its source colours back. New installs also show the news feed straight away, and branding removal moves to the shared option in [MC] Core Library.

Changelog

Improvements
  • New installs give View news feed to every user group that can view your forum, so the news feed, the Latest news widget and the ticker work without a permission change. Existing installs keep the permissions you have set.
  • Branding removal now uses the shared Remove branding option in [MC] Core Library, which covers every MC add-on at once
  • The Title field on the source form no longer names example sites in its hint

Bug fixes
  • Sources with Allowed categories fetch again. Articles in an allowed category are imported and the rest are stored as filtered, instead of the fetch failing on the first tagged article.
  • The source form shows a source's saved Allowed categories, so saving the form no longer clears them
  • Ticker dots take each source's colour when Use per-source colors is on
  • The News items footer shows the right count, such as "Showing 6 of 6 items"
  • The News items action buttons line up on every row, duplicate or not

Upgrade notes
  • Requires [MC] Core Library 1.0.3 or later. Upgrade Core Library first.
  • If you had removed the branding with the old News Aggregator option, turn on Remove branding in [MC] Core Library's options instead

Documentation
We have released a new maintenance update that fixes a critical issue with XenForo 2.3.13. Please update to the latest version before upgrading.
  • XenForo 2.3.13 introduces new security measures that caused a fatal error regarding our shared copyright footer.
A new version has been released.
  • Feature: OPML import/export for news sources
    • This is available on the source list in the admin control panel.
  • Improvement: Cap feed response body size to prevent runaway feeds from exhausting memory.
    • New option (Maximum feed body size) which is set by default to 5 MB.
  • Improvement: Cache the public feed's visible-item count instead of running a full COUNT(*) per pageview.
  • Bugfix: Fix N+2 query during batch feed import.
  • Bugfix: Batch import now loads keyword filters and recent titles once per batch instead of once per source
  • Bugfix: Dedupe historical rows and promote url_canonical to a unique index so the DuplicateKeyException catch is actually load-bearing.
  • Bugfix: Clear orphaned duplicate_of_id / is_duplicate on survivors when their original is pruned.
  • Bugfix: Sanitise image URLs from feeds; reject non-http(s) schemes, resolve relative URLs, clamp length.
  • Bugfix: Cap item description length at write time to stop full-article bodies bloating the table
We have a released a new update to News Aggregator bringing some new features and changes

Features and Changes:

Faster, lighter feed fetches
  • News Aggregator now tells each feed server what it last saw. If nothing has changed, the server responds instantly.
  • Parallel feed fetches. Sources are now fetched concurrently instead of one at a time. On sites with many sources, scheduled fetch runs finish dramatically faster
Flagged item retention period:
  • Flagged items are now pruned on their own retention schedule. News items that have been hidden, filtered by a keyword, or flagged as duplicates are automatically deleted after a short retention period of 30 days. Can be changed.
Three new admin options
  1. Choose how long to keep flagged news items. Default is 30 days.
  2. (adv) Choose how many feeds to fetch in parallel. Default is 5, choose up to 20.
  3. (adv) Choose how long to wait for a single feed’s response. Default is 15 seconds, and feeds that exceed this time or are unresponsive result in an error.

Attachments

  • newsagg_010.webp
    newsagg_010.webp
    60.2 KB · Views: 84
Back
Top Bottom