Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simounet/leedrssorsiteview
Leed's plugin that allow us to choose the view (RSS or website) for each feed
https://github.com/simounet/leedrssorsiteview
Last synced: about 1 month ago
JSON representation
Leed's plugin that allow us to choose the view (RSS or website) for each feed
- Host: GitHub
- URL: https://github.com/simounet/leedrssorsiteview
- Owner: Simounet
- Created: 2014-02-22T22:07:18.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-01-20T20:41:12.000Z (almost 8 years ago)
- Last Synced: 2023-03-14T08:00:32.156Z (over 1 year ago)
- Language: PHP
- Size: 21.5 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Leed RSS Or Site View
## Description
This is a [Leed](https://github.com/ldleman/Leed)'s plugin to switch between the feed or the live (iframe) version of the content.
## Requirements
You need to have a working copy of Leed. If not look at the [Leed's install instructions](https://github.com/ldleman/Leed#installation-1).
## How does it work?
If the theme that you are using handles this plugin, you can switch the view clicking at the switch button.
## Leed's theme handling this plugin
- [LeedVibes](https://github.com/Simounet/LeedVibes)
## Install
1. Download [LeedRSSOrSiteView](https://github.com/Simounet/LeedRSSOrSiteView/archive/dev.zip) into the `plugins` folder of Leed
2. Activate `LeedRSSOrSiteView` from the settings page## Uninstall
1. Disable `LeedRSSOrSiteView` from the settings page
2. Remove the `LeedRSSOrSiteView` folder from `plugins`## How can my theme handles this plugin?
- Add this to each parent event class container:
`{if="isset($value->view) && $value->view == 1"} event--website-view js-website-view{/if}`- Add this to each event container where you want the button to appear:
```
{if="isset($value->view)"}
{if="$value->view == 0"}{function="_t('SITE_VIEW')"}{else}{function="_t('RSS_VIEW')"}{/if}
{/if}
```## Any idea or trouble? You implemented this plugin to your theme?
- [Open an issue](https://github.com/Simounet/LeedRSSOrSiteView/issues/new)
- [Come to the #Leed IRC channel on Freenode](https://kiwiirc.com/client/irc.freenode.net/#Leed)
- [Mail](mailto:[email protected])## Licence
Leed RSS Or Site View is under [MIT License](http://opensource.org/licenses/MIT).