aboutsummaryrefslogblamecommitdiffhomepage
path: root/doc/md/RSS-feeds.md
blob: cdfb8c7857db7562a6b6634ec60cd54eb2d9e7b7 (plain) (tree)
1
2
3
4
5
6
7
8
9

                 
                                                                       

        
 
                                                                                                             
                                                            
                                                                                                                                                                                         

                                                             
 
                                                       
 


                                                                                                                                              
 




                                                                                                                                               
                                       
                                                           
                                                                     
 
                                                         
### Feeds options

Feeds are available in ATOM with `/feed-atom` and RSS with `/feed-rss`.

Options:

- You can use `permalinks` in the feed URL to get permalink to Shaares instead of direct link to shaared URL.
    - E.G. `https://my.shaarli.domain/feed-atom?permalinks`.
- You can use `nb` parameter in the feed URL to specify the number of Shaares you want in a feed (default if not specified: `50`). The keyword `all` is available if you want everything.
    - `https://my.shaarli.domain/feed-atom?permalinks&nb=42`
    - `https://my.shaarli.domain/feed-atom?permalinks&nb=all`

### RSS Feeds or Picture Wall for a specific search/tag

It is possible to filter RSS/ATOM feeds and Picture Wall on a Shaarli to **only display results of a specific search, or for a specific tag**.

For example, if you want to subscribe only to links tagged `photography`:

- Go to the desired Shaarli instance.
- Search for the `photography` tag in the _Filter by tag_ box. Links tagged `photography` are displayed.
- Click on the `RSS Feed` button.
- You are presented with an RSS feed showing only these links. Subscribe to it to receive only updates with this tag.
- The same method **also works for a full-text search** (_Search_ box) **and for the Picture Wall** (want to only see pictures about `nature`?)
- You can also build the URLs manually:
    - `https://my.shaarli.domain/?do=rss&searchtags=nature`
    - `https://my.shaarli.domain/links/picture-wall?searchterm=poney`

![](images/rss-filter-1.png) ![](images/rss-filter-2.png)