Embed Nspxt Literary Excerpts on Your Website
Use our RSS feed and widget to display beautiful literary excerpts on your website or blog.
RSS Feed Options
Our RSS feed provides random excerpts from our collection of classic literature. You can use this feed in any RSS reader or widget.
Available Feed Formats
-
RSS 2.0 FeedAccess Feed
Standard RSS format compatible with most readers
-
Atom FeedAccess Feed
Atom format for modern feed readers
Feed URL Parameters
Customize your feed with these query parameters:
Parameter | Description | Example |
---|---|---|
limit |
Number of excerpts to include (1-50) | ?limit=5 |
genre |
Filter by genre | ?genre=Fiction |
author |
Filter by author | ?author=Twain |
century |
Filter by century (e.g., 19 for 19th century) | ?century=19 |
Example:
https://excerpt.nspxt.org/feed?limit=3&genre=Fiction¢ury=19
Embed the Widget
Our JavaScript widget makes it easy to display beautiful literary excerpts on your website or blog.
Excerpt Widget Configuration
Configuration Options
Customize the excerpt widget appearance and behavior:
Option | Default | Description |
---|---|---|
theme |
'light' |
Widget theme: 'light' or 'dark' |
showTitle |
true |
Show book title |
showAuthor |
true |
Show author name |
showBook |
true |
Show book information |
maxExcerpts |
1 |
Number of excerpts to display |
refreshInterval |
86400 |
Refresh interval in seconds (86400 = daily) |
feedUrl |
'https://excerpt.nspxt.org/feed' |
Custom feed URL with filters |
Live Demo
Here's how the widget looks with default settings: