hexo-shortcodes rss reader
Hexo shortcode rss reader
display any rss to your hexo site.
1 | {% rssreader [url] [limit:n] [debug:[true|false]] [randomize:[true|false]] %} |
Options
rss reader options.
option | default | description |
---|---|---|
limit | 3 | maximum items to display |
debug | false | debug item |
randomize | false | sort items randomly instead reading from last published date |
Formats
format object parsed from rss items.
sign | description |
---|---|
$title | item title |
$link | item link |
$content | item description |
$image | item thumbnail |
$pubDate | item date published |
$author | item author |
$summary | item summary |
Debug Item Object
if you don’t know what is your rss object key, you can debug your item object with bellow shortcode.
when you done debugging, remove
debug
option.
1 | {% rssreader https://www.webmanajemen.com/rss.xml debug:true %}{% endrssreader %} |
sample result from https://www.webmanajemen.com/rss.xml
[
"title",
"link",
"pubDate",
"content:encoded",
"content:encodedSnippet",
"comments",
"content",
"contentSnippet",
"guid",
"categories",
"isoDate"
]
Example
1 | {% rssreader https://www.webmanajemen.com/rss.xml limit:10 %} |
How to test render custom tag on HexoJS ?
How to test render custom tag on HexoJS ? QA original disscussion at https://github.com/orgs/hexojs/discussions/5203 I was created my plugin custom shortcode. how to test render single post with plugin enabled ? i was used process.cwd = => __dirname;import Hexo from hexo;import path from pa
Read Morerollback commit github
rollback commit github Rogue Coder? Working alone and just want to do well? Follow the steps below. These steps have worked reliably for me and many others over the years. Collaborate with others? Git is complicated. Please read the comments below this answer, consider other answers, and discuss wit
Read Moreremove files from git history for specific size
remove files from git history for specific size delete big files from git history example deleting files more than 100Mb bfg --strip-blobs-bigger-than 100M . clean old logs before push git reflog expire --expire=now --all git gc --prune=now --aggressive push git push
Read Moreremoves node_modules from git history
removes node_modules from git history WARNING: git filter-branch is no longer officially recommended. WARNING no longer officially recommended The official recommendation is to use git-filter-repo. git-filter-repo see Andr Anjos answer for details. Andr Anjos answer for details If you are here
Read MoreBug Report Chimeraland v2.0.2.117
Bug Report Chimeraland v2.0.2.117 Chimeraland v2.0.2.117 - Bug Report List of bugs, chimeraland v2.0.2.117. Broken display of weapon stats and armor sets Basic display stats got broken, sample list below: Tranquil fan Heavy Sword Many item names have been changed Many items name got changed, sampl
Read MoreHow to setup jest typescript and code runner in vscode
How to setup jest typescript and code runner in vscode How to setup jest typescript with code runner in vscode with this technique you can directly run test single file in vscode without typings manually in terminal, see below screenshot Requirements install vscode code-runneroptional install vsco
Read MoreMonster mamba
Monster mamba mamba Information from Chimeralandmamba default attribute GRADEAttackHealth Point HPDefenseDelicacies/Tasty for mambaGalleries for mamba mamba Information from Chimeraland mamba default attribute GRADEAttackHealth Point HPDefense mamba GRADEAttackHealth Point HPDefense GRADE Att
Read More