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 Feed

    Standard RSS format compatible with most readers

    Access Feed
  • Atom Feed

    Atom format for modern feed readers

    Access Feed

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 Installation

Add this code to your website where you want the excerpt widget to appear:

<!-- Nspxt Literary Excerpts Widget -->
<div class="nspxt-excerpt-widget" style="min-height: 200px; border: 1px solid #dee2e6; border-radius: 5px; margin: 20px 0;"></div>
<script>
// Optional: Configure the widget
window.NspxtExcerptConfig = {
    theme: 'light',       // 'light' or 'dark'
    showTitle: true,      // Show book title
    showAuthor: true,     // Show author name
    maxExcerpts: 1        // Number of excerpts to display
};
</script>
<script src="https://excerpt.nspxt.org/widget.js"></script>
Literary Travel Map Widget

Add this code to embed the Literary Travel map on your website:

<!-- Nspxt Literary Travel Map Widget -->
<iframe 
  src="https://excerpt.nspxt.org/travel/" 
  width="100%" 
  height="600" 
  style="border:none;border-radius:8px;box-shadow:0 4px 8px rgba(0,0,0,0.1)" 
  title="Nspxt Literary Travel Map"
></iframe>
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:

Live Widget Preview