• 1 Post
  • 3 Comments
Joined 2 years ago
cake
Cake day: June 20th, 2023

help-circle


  • gnzl@nc.gnzl.cltoSelfhosted@lemmy.worldCan FreshRSS Crawl?
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    Before you go reading all that, out of curiosity I looked around the RuneScape site and found the News RSS feed here:

    https://secure.runescape.com/m=news/latest_news.rss

    That feed contains only titles, thumbnails and a very small preview of each article. However, with FreshRSS you don’t need to do scraping/crawling at all to get full articles from limited RSS feeds like this one. Here’s what you do:

    1. Subscribe to the RSS feed in FreshRSS as you normally would.
    2. Go to Subscription Management and find the settings for the RuneScape feed.
    3. In the Advanced section of the feed settings, find the item called “Article CSS selector on original website”, and write .c-news-article__content in that text box. You can click on the button next to the text box to preview the full article that FreshRSS will retrieve.
    4. Click Submit to save the changes, and then go to the bottom of the feed settings and click Reload articles so that FreshRSS populates the feed with a few full articles.

    That should do it. The CSS selector essentially tells FreshRSS which section of the full article’s HTML/CSS is the body of the article, which FreshRSS then uses to populate the body of the RSS feed.