comparison Makefile @ 6:5d7c13e998e9

Create feed previews using a stream filter Instead of replacing the feed document with an XHTML preview from a content script after it has already been rendered, create an XHTML preview using a stream filter before it is passed into the rendering engine and use an XSL style sheet to convert it to HTML. This has two advantages, firstly it results in an HTMLDocument with the full HTML DOM available and secondly it avoids rendering the document twice. Refactor the feed preview creation and split parsing and rendering into seperate modules.
author Guido Berhoerster <guido+feed-preview@berhoerster.name>
date Thu, 08 Nov 2018 16:30:34 +0100
parents bc5cc170163c
children c271192aac9d
comparison
equal deleted inserted replaced
5:341a0f4b7ce0 6:5d7c13e998e9
34 DIST_FILES = manifest.json \ 34 DIST_FILES = manifest.json \
35 COPYING \ 35 COPYING \
36 NEWS \ 36 NEWS \
37 README \ 37 README \
38 $(wildcard _locales/*/messages.json) \ 38 $(wildcard _locales/*/messages.json) \
39 background.js \ 39 background.html \
40 content_scripts/feed-probe.js \ 40 content_scripts/feed-probe.js \
41 content_scripts/feed-preview.js \
42 icons/feed-preview.svg \ 41 icons/feed-preview.svg \
43 $(BITMAP_ICONS) \ 42 $(BITMAP_ICONS) \
43 js/background.js \
44 js/feed-parser.js \
45 js/feed-preview.js \
44 popup/feed-selection.js \ 46 popup/feed-selection.js \
45 popup/feed-selection.html \ 47 popup/feed-selection.html \
46 web_resources/style/feed-preview.css \ 48 web_resources/style/feed-preview.css \
47 web_resources/style/photon-colors.css \ 49 web_resources/style/photon-colors.css \
48 web_resources/style/common.css \ 50 web_resources/style/common.css \
49 web_resources/style/entry-content.css \ 51 web_resources/style/entry-content.css \
50 web_resources/feed-preview.xhtml \ 52 web_resources/feed-preview.xhtml \
53 web_resources/xhtml-to-html.xsl \
51 web_resources/images/arrow.svg 54 web_resources/images/arrow.svg
52 55
53 .DEFAULT_TARGET = all 56 .DEFAULT_TARGET = all
54 57
55 .PHONY: all extension clean clobber 58 .PHONY: all extension clean clobber