Switch an item between its HTML and its Markdown when a feed sends both #285

Closed
opened 2026-10-18 11:17:43 -07:00 by rays · 2 comments
Owner

Scripting News sends each item twice: HTML in <description> and Markdown in <source:markdown> (https://source.scripting.com/). ipx keeps the HTML only (#284 uses the Markdown when there is nothing else).

Wanted: when an item has both, a dropdown on its page, between the title and the item's icons, to switch how its text shows:

  • HTML: as the publisher sent it (today's view, the default)
  • Markdown: the Markdown copy rendered
  • Markdown source: the Markdown as written, as plain text

Needs the Markdown kept beside the item (a column on entries, since items are stored once), sent in the API, and the choice remembered.

Reference: http://scripting.com/2026/10/06/005559.html

Scripting News sends each item twice: HTML in `<description>` and Markdown in `<source:markdown>` (https://source.scripting.com/). ipx keeps the HTML only (#284 uses the Markdown when there is nothing else). Wanted: when an item has both, a dropdown on its page, between the title and the item's icons, to switch how its text shows: - HTML: as the publisher sent it (today's view, the default) - Markdown: the Markdown copy rendered - Markdown source: the Markdown as written, as plain text Needs the Markdown kept beside the item (a column on entries, since items are stored once), sent in the API, and the choice remembered. Reference: http://scripting.com/2026/10/06/005559.html
rays added the enhancement label 2026-10-18 11:17:43 -07:00
Author
Owner

Done in d5ffe5d, deployed in ipx and ipx-web: an item whose feed sends source:markdown beside its HTML keeps it (entries.markdown), and the API sends it as written (markdown) and made HTML and cleaned (markdown_html). The item's page has a choice between its meta line and its buttons: HTML, Markdown or Markdown source, remembered in the browser. Stored items picked it up on the next read: Scripting News's five newest have it in production now.

Done in d5ffe5d, deployed in ipx and ipx-web: an item whose feed sends <source:markdown> beside its HTML keeps it (entries.markdown), and the API sends it as written (markdown) and made HTML and cleaned (markdown_html). The item's page has a choice between its meta line and its buttons: HTML, Markdown or Markdown source, remembered in the browser. Stored items picked it up on the next read: Scripting News's five newest have it in production now.
rays closed this issue 2026-10-18 11:41:41 -07:00
Author
Owner

Changed in b4c0048, deployed: the choice is HTML or Markdown (rendered); the Markdown source view is gone.

Changed in b4c0048, deployed: the choice is HTML or Markdown (rendered); the Markdown source view is gone.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rays/ipx#285