|
|
@ -27,37 +27,31 @@ jQuery(document).ready(function($) { |
|
|
|
|
|
|
|
|
|
|
|
/* jQuery RSS - https://github.com/sdepold/jquery-rss */ |
|
|
|
|
|
|
|
$("#rss-feeds").rss( |
|
|
|
|
|
|
|
//Change this to your own rss feeds
|
|
|
|
"https://blog.yigitcolakoglu.com/rss.xml", |
|
|
|
"https://fr1nge.xyz/index.xml", |
|
|
|
|
|
|
|
{ |
|
|
|
// how many entries do you want?
|
|
|
|
// default: 4
|
|
|
|
// valid values: any integer
|
|
|
|
limit: 3, |
|
|
|
limit: 2, |
|
|
|
|
|
|
|
// the effect, which is used to let the entries appear
|
|
|
|
// default: 'show'
|
|
|
|
// valid values: 'show', 'slide', 'slideFast', 'slideSynced', 'slideFastSynced'
|
|
|
|
effect: 'slideFastSynced', |
|
|
|
|
|
|
|
// will request the API via https
|
|
|
|
// default: false
|
|
|
|
// valid values: false, true
|
|
|
|
ssl: true, |
|
|
|
effect: 'slide', |
|
|
|
|
|
|
|
// outer template for the html transformation
|
|
|
|
// default: "<ul>{entries}</ul>"
|
|
|
|
// valid values: any string
|
|
|
|
layoutTemplate: "<div class='items'>{entries}</div>", |
|
|
|
layoutTemplate: "<div class='items'>{entries}</div>", |
|
|
|
|
|
|
|
// inner template for each entry
|
|
|
|
// default: '<li><a href="{url}">[{author}@{date}] {title}</a><br/>{shortBodyPlain}</li>'
|
|
|
|
// valid values: any string
|
|
|
|
entryTemplate: '<div class="item"><h3 class="title"><a href="{url}" target="_blank">{title}</a></h3><div><p>{shortBodyPlain}</p><a class="more-link" href="{url}" target="_blank"><i class="fas fa-external-link-alt"></i>Read more</a></div></div>' |
|
|
|
entryTemplate: '<div class="item"><h3 class="title"><a href="{url}" target="_blank">{title}</a></h3><div><p>{shortBodyPlain}</p><a class="more-link" href="{url}" target="_blank"><i class="fas fa-external-link-alt"></i>Read more</a></div></div>' |
|
|
|
|
|
|
|
} |
|
|
|
); |
|
|
|