• 1 Post
  • 6 Comments
Joined 1 year ago
cake
Cake day: June 20th, 2023

help-circle


  • I recommend NSD or Knot for strictly authoritative servers. BIND is great too, but it is built to do both authoritative and caching DNS which makes it a bit too “big” for the task of serving only authoritative DNS data. You can definitely configure BIND to only serve authoritative data though.

    I can’t comment on running from a container, I’ve always worked with NSD/Knot/BIND building directly from source.



  • Using .site-content container clearfix didn’t work because those are actually three separate CSS classes, so you’d have to use only one - for example .site-content. However, it looks like .site-content is too big, as it includes the website’s sidebar as well. You may already know this but in Firefox and Chrome you can right click anywhere on the website and use the Inspect option to look at the source, and clicking on a section of the source highlights the corresponding section of the website and this will help you find exactly the CSS class you’re looking for. I did this on a couple articles from Humble Bundle and found a couple of options:

    • .post: This includes only the content of the post, excluding the title and the image.
    • .site-main: This includes the title, author, image and the content.

    Another useful tool in FreshRSS I forgot to mention is “CSS selector of the elements to remove”. You can use it to remove certain section from the full article, I’d recommend removing .sharedaddy and .entry-footer (the sharing links at the end of the article), and also .entry-header if you use .site-main as the CSS selector for the full article (.entry-header is the title of the article, but FreshRSS already fetches it from the RSS feed so you don’t need it in the body of the article as well). You can remove multiple sections by using a comma-separated list of CSS classes to remove:

    .entry-header, .sharedaddy, .entry-footer


  • 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.