Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 936 Bytes

README.md

File metadata and controls

35 lines (25 loc) · 936 Bytes

OSFeedbox

RSS Feed preview used on homepages for Zero Data App, Hyperdraft and others.

Setup

<!-- 1. include dependencies -->
<script src="https://olsk.rosano.ca/OSFeedbox/master/main.js"></script>

<!-- 2. label a parent/container element -->
<div class="alfa-bravo-charlie"></div>

<!-- 3. call `load` -->
<script type="text/javascript">
OSFeedbox.load({
	parent: document.querySelector('.alfa-bravo-charlie'),
	feed: 'https://rosano.ca/feed',
	limit: 10, // default: Infinity
});
</script>

<!-- optional: include extra styles -->
<script src="https://olsk.rosano.ca/OLSKDecor/master/ui-style.css"></script>

Options

name description
hideBlurb ignores and hides description even if set. default: false

Questions

Feel free to reach out on Mastodon or Twitter.