Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add XSLT stylesheet #862

Closed
sjehuda opened this issue Jan 8, 2025 · 7 comments
Closed

Add XSLT stylesheet #862

sjehuda opened this issue Jan 8, 2025 · 7 comments

Comments

@sjehuda
Copy link

sjehuda commented Jan 8, 2025

I have made several XSLT stylesheets for Atom, OPML, RDF, and RSS.

https://git.xmpp-it.net/sch/StreamBurner

@snarfed
Copy link
Owner

snarfed commented Jan 8, 2025

Interesting! I love XSLT and stylesheets. I don't really expect end users to view granary's generated XML files directly in browsers though, but via feed readers etc. Are you interested in this for developers who are trying out granary? I could definitely consider it, but for developers, I'm not sure I'd want to obscure the underlying XML at all.

@sjehuda
Copy link
Author

sjehuda commented Jan 8, 2025

I'm not sure I'd want to obscure the underlying XML at all.

See article "Who needs HTML anyway?" at https://envs.net/~lucidiot/rsrsss/feed.xml

It is a matter of design, so with the correct design, you would not obscure the underlying XML.

Please. Try Rivista XJP (I have referred to it in the XMPP ticket) and Newspaper (see reference below).

Feed readers will ignore XSLT, and people who utilize HTML browsers would enjoy it.

Are you interested in this for developers who are trying out granary?

Not exactly. It actually has started 12 years ago, when all three advertising companies have conspired to remove support for RSS.


About

  • I am a very angry Jew lawyer who is zealous for syndicated content. I am not an expert developer.

Cause

  • I am interested in that feature in order to promote XSLT.
  • I am interested in XSLT in order to promote XML.
  • I am interested in XML in order to promote telecommunication (i.e. "internet") that would be made out of a well-structured and standard API as was envisioned by good men such as Mr. Todd F. Boyle of gldialtone.com.

Further

I was furious when advertising agencies that dare to identify themselves as "browser vendors" have removed and sabotaged syndicated technology (i.e. ATOM/RDF/RSS), so this has led me to learn coding and to create StreamBurner https://gitgud.io/sjehuda/streamburner within a couple of weeks.

Three years later, I have created for that task a Greasemonkey script https://openuserjs.org/scripts/sjehuda/Newspaper as an installable extension that would allow me to promote ideas that the advertising companies (i.e. "browser vendors", so called) would reject it from their repositories (i.e. "stores").

More

  • Install that Greaseomnkey script;
  • Open a feed;
  • Click on the rescue wheel icon;
  • Read the articles; and
  • Start to laugh.

Conclusion

I am a propagandist, and I believe that a proper XSLT and CSS design would make more people to understand that they can use an "internet" which is completely made of XML.


Actually, I would urge you to utilize XSLT for the "end-user".

The reason, is that you can advertise (i.e. educate) to the viewers the type of parsed resource.

This is something to consider.

Feed sourced from ActivityPub

Granary would load an XSLT stylesheet with a reference about the ActivityPub technology, and refer to Omnom, Pleroma, Misskey and other software that are based upon ActivityPub.

Feed sourced from XMPP PubSub

Granary would load an XSLT stylesheet with a reference about the XMPP technology, and refer to Blasta, Libervia, Movim, Reeder, Rivista XJP and other software that support XMPP PubSub.

Feed sourced from ActivityStream

Granary would load an XSLT stylesheet with a reference about the ActivityStream technology, and refer to GNU Social (formerly StatusNet), Quitter and pump.io.

Feed sourced from a proprietary publishing pltaform

Granary would load an XSLT stylesheet with a reference about similar platforms that are decentralized.

etc.

@snarfed
Copy link
Owner

snarfed commented Jan 9, 2025

I appreciate your enthusiasm for XSLT, along with XML and all of the other info and ideas here! As with #861 though, I'm just not sure how relevant they are to granary specifically, since it's a library and API for developers, not an end user facing app or tool.

@sjehuda
Copy link
Author

sjehuda commented Jan 9, 2025 via email

@snarfed
Copy link
Owner

snarfed commented Jan 9, 2025

OK! I'll close for now then. Thanks for the thoughts though!

@snarfed snarfed closed this as not planned Won't fix, can't repro, duplicate, stale Jan 9, 2025
@sjehuda
Copy link
Author

sjehuda commented Jan 9, 2025

Great! Thank you, as well!

@sjehuda
Copy link
Author

sjehuda commented Jan 12, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants