MoreRSS

site iconReedyBearModify

I'm an open-source software developer and community activist.
Please copy the RSS to your reader, or quickly subscribe to:

Inoreader Feedly Follow Feedbin Local Reader

Rss preview of Blog of ReedyBear

Sort Bear Analytics by Toast Count

2025-12-28 04:42:00

Bear Analytics are sorted by the number of page views within the selected timeframe, with no sorting options available.

So I wrote a little script that sorts by toast count. I wanted to make this a plugin you install via your BearBlog Dashboard, but plugins do not load on the analytics page. SO, to use this script, you'll make a bookmark in your browser. (see below)

Default Sorting
List of post titles with their toast count & read count, screenshot from the analytics page, in order by read count

Sorted by Toast
List of post titles with their toast count & read count, screenshot from the analytics page, in order by toast count

How To

To use this plugin:

  1. Copy the code below
  2. Create a new bookmark in your browser
  3. In the 'URL' field, PASTE the code

Now, visit your analytics page, and when you click that bookmark, it will run this little script and sort your analytics. When you refresh the page, it'll go back to normal.

The Code:

javascript:  

/* make sure we're on the analytics page */  
if (window.location.href.includes("/analytics/")){  

    /* search through <h3> nodes to find 'Pages' header. */  
    h3s = document.querySelectorAll('h3');  
    ul = null;  
    for (h3 of h3s){  
        if (h3.innerText.trim() == 'Pages'){  
            /* Get the post list's container node */  
            ul = h3.parentNode.querySelector('ul');  
            break;  
        }  
    }  

    /* Loop over every analytics entry.  
       Get the toast count of each entry.  
       Create an array which we will use for sorting. */  
    lis = ul.querySelectorAll('li');  
    sortables = [];  
    for (li of lis){  
        small = li.querySelector('small');  
        if (small == null){  
            /* there is no toast count for this entry */  
            sortables.push([-1, li]);  
        } else {  
            /* extract the NUMBER from the toast count text */  
            num = small.innerText.match(/[0-9]+/)[0];  
            sortables.push([num, li]);  
        }  
        /* Remove the list item, because we will re-add it after sorting */  
        ul.removeChild(li);  
    }  

    /* Sort the list items by their toast counts */  
    sorted = sortables.sort(  
        function(a, b){  
            return b[0]-a[0];  
        }  
    );  

    /* re-add all list items in the new order */  
    for (item of sorted){  
        ul.appendChild(item[1]);  
    }  
}  

Bearblog Tips/Tools

Fix for Shark Toast Button showing attribution twice

2025-12-24 04:10:00

I previously posted Shark Toast Button, which has a snippet of code to add attribution to the footer of your blog. On paid blogs, the attribution text would display twice because there is an extra <footer> node when you upgrade.

The OLD attribution code was:

/** attribution **/  
footer::before {  
    display: block;  
    content: "Shark Toast icons by Puckung on Flaticon";  
}  

The NEW (fixed) attribution code is:

/** attribution **/  
body > footer::before {  
    display: block;  
    content: "Shark Toast icons by Puckung on Flaticon";  
}  

This CSS goes in your blog's theme. You can either remove the old attribution code & copy+paste the new one or simply add body > in front of the footer::before code.

Better Attribution for Paid Blogs:
NOTE: If you have a paid blog, you can add the attribution as HTML in your footer directive.

On your Dashboard, go to Settings -> Header & footer directives then paste this into Footer directive::

<span>Shark Toast icons by <a href="https://www.flaticon.com/packs/shark-14520784?word=shark">Puckung on Flaticon</a></span>  

You would then also want to remove the attribution css code from your blog's theme.


Bearblog Tools\Tips

gun deaths being &quot;worth it&quot;

2025-12-23 15:51:00

Charlie Kirk said

I think it's worth it. I think it's worth to have a cost of, unfortunately, some gun deaths every single year so that we can have the Second Amendment to protect our other God-given rights.

I've never liked that this particular quote is used to drag Charlie Kirk. I think he was awful, had awful politics, and advocated for horrible things.

But this quote, to me, is just not it. It's calloused, sure. It's cold, yes. There were 40,832 gun deaths in 2024

But what about cars? 38,604 deaths

Heart disease: 688,117

Yet we still have cars and we still allow salt in our food.

I'm personally not ready to say it's "worth it". It feels wrong to say that.

But the things we have in this life do not come without a cost. Not car ownership, not salt, and not guns.

I think our gun laws need major reform in the U.S. I don't think Charlie Kirk did. I do think we should have guns though.

I've been pro gun for a long time. Pro gun regulation AND pro gun. And a big part of that, the main part, is for the opportunity to stand against tyranny, something we are facing NOW in America.

I don't want the guns to come out, of course. Violence is abhorrent. But still, it's why I'm pro gun.

link: RawWeb Search

2025-12-23 07:18:00

RawWeb - searches independent websites, and its really ugly

RSS Tools

2025-12-23 07:03:00

Below is a collection of RSS related Tools and resources I have discovered. A few are still listed on my Getting Started with RSS page, but only the ones that regular (non-power) users might actually find useful.

User Friendly Tools

  • Kill The Newsletter - Turn an email newsletter into an RSS feed
  • Open RSS - A third-party service that creates feeds for many websites that don't already have them. (Note: OpenRSS may block you because of strict guidelines they have about spacing out requests, and many apps do not keep to those guidelines. For this reason, I don't really recommend them.)
  • RSSLookup.com - Helps find feeds on websites

Niche Tools/Resources for Users

  • Pow RSS - Features feeds from independent websites and blogs
  • LettRSS - Syndicates public domain books via RSS (the website owner chooses the book. There is only one book at a time, I believe)

For Power Users

Non-Tool Resources and Articles

For Developers

  • Feed Maker - Generate an RSS Feed from any website, based on CSS selectors
  • Everyone's a Syndicate - Pulls articles from a list of RSS feeds and then display them on your own website.
  • RSS Bridge - A tool for developers to create RSS feeds from websites that don't have them.
  • madiele/vod2pod-rss - converts YouTube or Twitch Channel into an RSS feed of audio podcasts
  • The Old reader - Old Reader is a service that provides an API that feed reader apps can use. There are a bunch of pre-existing apps, but my understanding is that this service makes it easier to develop a new feed reader app.

Email reed [at] reedybear [dot] com to suggest a tool for this list. I check my email every 2 weeks or so. You can tell me about tools you've made, or tools you've found.