Skip to content

FreshRSS Extension that will wrap feed entries with div element containing helpful classes to apply custom per-feed-type styles/js

License

Notifications You must be signed in to change notification settings

jtyszkiew/xExtension-HtmlWrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HTML Element wrapper for FreshRSS

This extension will add <div> wrapper around the feed entry with domain as the class name. For example for the feed https://google.com/rss this will create following wrapper:

<div class="google_com c_big_companies c_id_1">... entry ...</div>

It might be helpful when you want to create custom CSS/JS depending on the feed.

You can select it by the domain:

.google_com {
    color: #ffffff;
}

This will apply styles to the feed details only from given domain.

You can select it by the category name with c_* prefix:

.c_big_companies {
    color: #ffffff;
}

This will apply styles to all feeds details in given category name. The rule is simple here - spaces are replaced with _ and the whole thing is lower-cased.

Alternatively you can select it by category id with c_id_* prefix:

.c_id_1 {
    color: #ffffff;
}

About

FreshRSS Extension that will wrap feed entries with div element containing helpful classes to apply custom per-feed-type styles/js

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages