Server-side XML pretty printer for Node?

Open
#69 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
html, node.js, xml
Domain
backend, tooling

Research direction

The issue does not name a file, test, or entry point; start by reviewing the existing xmlviewer app and its HTML template. Determine how server-side XML formatting can be configured, then verify that RSS/XML input is consistently indented and readable, with syntax highlighting treated as an optional goal.

Written by the indexing model from the issue text.

Description

I did some work on the xmlviewer app.

http://xmlviewer.scripting.com/?url=http%3A%2F%2Fscripting.com%2Frss.xml

It's needed because browsers actively try to prevent you from reading the source of RSS files.

Sometimes you reallllly do need to read the source. ;-)

The changes are that I use an actual HTML template, so it renders more nicely, and the URL is displayed at the top of the page, so it's easy to copy it if you need to.

What I really want is to have the XML compiled and indented in a standard way. Some RSS feeds are totally word-wrapped, makes it hard to read. I wouldn't mind syntax highlighting.

Most important it should be easy to configure.

I have done a search, and tried a few things out. I was wondering if anyone had experience here, and could point to some running demos.

Dominant language
HTML
Stars
134
Forks
10
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from scripting/Scripting-News

All issues in scripting/Scripting-News

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.