Abe Jellinek
8b13f717b4
SAXXMLReader: Handle non-UTF-8 encodings ( #3846 )
2024-04-20 06:41:51 -04:00
Abe Jellinek
f7dc68c7f4
Render RSS description as HTML ( #3956 )
2024-04-18 06:39:17 -04:00
J. Ryan Stinnett
2bd4904ead
Add DOMParser-based XML reader
...
This adds a `DOMParser`-based XML reader which emits events like a SAX XML
reader for compatibility with the feed processor.
2021-06-16 20:59:57 +01:00
J. Ryan Stinnett
29ebaa5ec6
Assume fetch-based API for feed processsing
...
This converts the feed processor to expect a `fetch`-based API instead of an
XPCOM stream.
2021-06-16 20:59:57 +01:00
J. Ryan Stinnett
1d93296481
Convert feed processor to HTML attribute manipulation
...
This moves the feed processor away from custom XPCOM SAX attributes and over to
standard HTML attribute map APIs.
2021-06-16 20:59:57 +01:00
J. Ryan Stinnett
891ba599a6
Convert feed processor parsing to native DOM APIs
...
This uses native DOM APIs to create document fragments and parse content instead
of XPCOM utils.
2021-06-16 20:59:57 +01:00
J. Ryan Stinnett
b4303eaa45
Absorb feed processor types from interface
...
This moves the type constants into code, rather than pulling them from an XPCOM
interface.
2021-06-16 20:59:57 +01:00
J. Ryan Stinnett
a0694cd8fb
Convert feed processor type checks away from XPCOM
...
This converts the type checks for arrays and interfaces to use native JS
approaches instead of XPCOM.
2021-06-16 20:59:57 +01:00
J. Ryan Stinnett
a3e6f96289
Remove MIME type description feature from feed processor
...
This removes the feed processor's feature of converting enclosure MIME types to
a textual type description. This is not used by Zotero and removes an XPCOM
dependency.
2021-06-16 20:59:57 +01:00
J. Ryan Stinnett
af6029b854
Convert feed processor to native URLs
2021-06-16 20:59:57 +01:00
J. Ryan Stinnett
be80598c6b
Convert feed processor data away from XPCOM
...
This changes the feed processor XPCOM array and property bags to native arrays
and objects.
2021-06-16 20:59:57 +01:00
J. Ryan Stinnett
bea3b3d3b2
Remove unimplemented registerExtensionPrefix API
2021-06-16 20:59:57 +01:00
J. Ryan Stinnett
9d0e1932dc
Convert feed processor structure away from XPCOM
...
This changes the various components to invoke each other directly as regular
objects without involving XPCOM.
2021-06-16 20:59:57 +01:00
J. Ryan Stinnett
e120ca7395
Align variable style in feed processor
...
This tweaks variable naming and related details to match Zotero conventions.
2021-06-16 20:59:57 +01:00
J. Ryan Stinnett
76873bda95
Approaching readable code in feed processor
...
This adjusts bracing style and other aesthetics to match Zotero conventions.
2021-06-16 20:59:57 +01:00
J. Ryan Stinnett
a210f1fbde
More style alignment for feed processor
2021-06-16 20:59:57 +01:00
J. Ryan Stinnett
71dc4e9bf9
Convert feed processor indentation to Zotero style
...
This adjust feed processor indentation to match Zotero conventions for tabs and
continuous indents in blocks.
2021-05-11 10:05:59 +01:00
J. Ryan Stinnett
48a6e90b4f
Initial import of feed processor
...
This imports Mozilla's feed processor which has been removed upstream as part of
Firefox 66. Some changes are likely needed before this will actually run in
Zotero.
2021-05-07 14:02:56 +01:00