Increase view.html iframe height
This commit is contained in:
@ -23,6 +23,7 @@ import {
|
||||
import { NodeHtmlMarkdown } from 'node-html-markdown'
|
||||
import { promisify } from 'util'
|
||||
import * as jwt from 'jsonwebtoken'
|
||||
import { env } from '../env'
|
||||
|
||||
const logger = buildLogger('utils.parse')
|
||||
const signToken = promisify(jwt.sign)
|
||||
@ -500,12 +501,13 @@ export const getDistillerResult = async (
|
||||
return undefined
|
||||
}
|
||||
|
||||
const token = await signToken({ uid }, '1h')
|
||||
const exp = Math.floor(Date.now() / 1000) + 60 * 60 // 1 hour
|
||||
const auth = (await signToken({ uid, exp }, env.server.jwtSecret)) as string
|
||||
|
||||
console.debug('Parsing by distiller', url)
|
||||
const response = await axios.post<string>(url, html, {
|
||||
headers: {
|
||||
Authorization: token as string,
|
||||
Authorization: auth,
|
||||
},
|
||||
timeout: 5000,
|
||||
})
|
||||
|
||||
@ -1,520 +0,0 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<script src="script.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<table style="width: 100%">
|
||||
<tr>
|
||||
<td valign="top" style="width: 250px">
|
||||
<ul>
|
||||
|
||||
|
||||
<li>substack-email<br />
|
||||
<a href="./substack-email/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./substack-email/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./substack-email/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>getting_started_with_omnivore<br />
|
||||
<a href="./getting_started_with_omnivore/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./getting_started_with_omnivore/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./getting_started_with_omnivore/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>youtube-embed<br />
|
||||
<a href="./youtube-embed/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./youtube-embed/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./youtube-embed/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>ottawacitizen.com<br />
|
||||
<a href="./ottawacitizen.com/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./ottawacitizen.com/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./ottawacitizen.com/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>instyle<br />
|
||||
<a href="./instyle/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./instyle/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./instyle/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>sydney.com<br />
|
||||
<a href="./sydney.com/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./sydney.com/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./sydney.com/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>thevaluable.dev<br />
|
||||
<a href="./thevaluable.dev/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./thevaluable.dev/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./thevaluable.dev/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>china.substack<br />
|
||||
<a href="./china.substack/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./china.substack/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./china.substack/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>spakhm<br />
|
||||
<a href="./spakhm/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./spakhm/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./spakhm/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>brookings.edu<br />
|
||||
<a href="./brookings.edu/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./brookings.edu/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./brookings.edu/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>danwang<br />
|
||||
<a href="./danwang/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./danwang/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./danwang/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>cnbc<br />
|
||||
<a href="./cnbc/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./cnbc/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./cnbc/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>news.utexas<br />
|
||||
<a href="./news.utexas/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./news.utexas/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./news.utexas/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>github-blog<br />
|
||||
<a href="./github-blog/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./github-blog/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./github-blog/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>city-journal<br />
|
||||
<a href="./city-journal/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./city-journal/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./city-journal/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>newsletters<br />
|
||||
<a href="./newsletters/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./newsletters/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./newsletters/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>jsomers<br />
|
||||
<a href="./jsomers/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./jsomers/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./jsomers/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>stratechery<br />
|
||||
<a href="./stratechery/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./stratechery/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./stratechery/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>nymag<br />
|
||||
<a href="./nymag/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./nymag/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./nymag/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>community.musictribe.com<br />
|
||||
<a href="./community.musictribe.com/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./community.musictribe.com/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./community.musictribe.com/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>electrek<br />
|
||||
<a href="./electrek/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./electrek/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./electrek/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>berthub<br />
|
||||
<a href="./berthub/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./berthub/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./berthub/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>dailymail<br />
|
||||
<a href="./dailymail/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./dailymail/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./dailymail/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>infoproc<br />
|
||||
<a href="./infoproc/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./infoproc/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./infoproc/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>milkroad<br />
|
||||
<a href="./milkroad/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./milkroad/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./milkroad/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>medium<br />
|
||||
<a href="./medium/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./medium/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./medium/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>garymarcus<br />
|
||||
<a href="./garymarcus/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./garymarcus/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./garymarcus/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>jacobbrazeal<br />
|
||||
<a href="./jacobbrazeal/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./jacobbrazeal/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./jacobbrazeal/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>erik-engheim<br />
|
||||
<a href="./erik-engheim/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./erik-engheim/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./erik-engheim/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>josephg<br />
|
||||
<a href="./josephg/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./josephg/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./josephg/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>rootsofprogress<br />
|
||||
<a href="./rootsofprogress/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./rootsofprogress/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./rootsofprogress/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>jon.bo<br />
|
||||
<a href="./jon.bo/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./jon.bo/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./jon.bo/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>omnivore_getting_started<br />
|
||||
<a href="./omnivore_getting_started/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./omnivore_getting_started/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./omnivore_getting_started/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>gdcvault<br />
|
||||
<a href="./gdcvault/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./gdcvault/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./gdcvault/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>johnhcochrane.blogspot<br />
|
||||
<a href="./johnhcochrane.blogspot/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./johnhcochrane.blogspot/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./johnhcochrane.blogspot/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>fiercepharma<br />
|
||||
<a href="./fiercepharma/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./fiercepharma/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./fiercepharma/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>stackoverflow<br />
|
||||
<a href="./stackoverflow/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./stackoverflow/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./stackoverflow/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>energias-renovables.com<br />
|
||||
<a href="./energias-renovables.com/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./energias-renovables.com/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./energias-renovables.com/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>nytimes<br />
|
||||
<a href="./nytimes/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./nytimes/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./nytimes/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>nytimes.com<br />
|
||||
<a href="./nytimes.com/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./nytimes.com/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./nytimes.com/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>berthub-2<br />
|
||||
<a href="./berthub-2/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./berthub-2/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./berthub-2/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>people<br />
|
||||
<a href="./people/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./people/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./people/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>aboveavalon<br />
|
||||
<a href="./aboveavalon/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./aboveavalon/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./aboveavalon/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>gflownet<br />
|
||||
<a href="./gflownet/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./gflownet/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./gflownet/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>slowboring<br />
|
||||
<a href="./slowboring/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./slowboring/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./slowboring/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>fast-company<br />
|
||||
<a href="./fast-company/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./fast-company/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./fast-company/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>sciencedirect<br />
|
||||
<a href="./sciencedirect/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./sciencedirect/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./sciencedirect/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>computer.rip<br />
|
||||
<a href="./computer.rip/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./computer.rip/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./computer.rip/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>channelnewsasia<br />
|
||||
<a href="./channelnewsasia/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./channelnewsasia/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./channelnewsasia/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>cavesocial<br />
|
||||
<a href="./cavesocial/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./cavesocial/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./cavesocial/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>debugger.medium<br />
|
||||
<a href="./debugger.medium/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./debugger.medium/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./debugger.medium/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>bitfieldconsulting<br />
|
||||
<a href="./bitfieldconsulting/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./bitfieldconsulting/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./bitfieldconsulting/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>techcrunch<br />
|
||||
<a href="./techcrunch/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./techcrunch/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./techcrunch/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>ft.com<br />
|
||||
<a href="./ft.com/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./ft.com/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./ft.com/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>guardian<br />
|
||||
<a href="./guardian/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./guardian/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./guardian/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>vanityfair<br />
|
||||
<a href="./vanityfair/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./vanityfair/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./vanityfair/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>substack-michaelshellenberger<br />
|
||||
<a href="./substack-michaelshellenberger/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./substack-michaelshellenberger/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./substack-michaelshellenberger/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>samcurry<br />
|
||||
<a href="./samcurry/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./samcurry/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./samcurry/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>biospace<br />
|
||||
<a href="./biospace/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./biospace/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./biospace/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>mathoverflow<br />
|
||||
<a href="./mathoverflow/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./mathoverflow/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./mathoverflow/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>channelnewsasia02<br />
|
||||
<a href="./channelnewsasia02/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./channelnewsasia02/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./channelnewsasia02/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>moxie.org<br />
|
||||
<a href="./moxie.org/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./moxie.org/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./moxie.org/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>elidourado<br />
|
||||
<a href="./elidourado/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./elidourado/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./elidourado/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>danluu<br />
|
||||
<a href="./danluu/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./danluu/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./danluu/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>blog.jetbrains.com<br />
|
||||
<a href="./blog.jetbrains.com/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./blog.jetbrains.com/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./blog.jetbrains.com/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>computerenhance.com<br />
|
||||
<a href="./computerenhance.com/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./computerenhance.com/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./computerenhance.com/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>bookofhook.blogspot.com<br />
|
||||
<a href="./bookofhook.blogspot.com/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./bookofhook.blogspot.com/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./bookofhook.blogspot.com/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>financialpost-fishing-for-chips<br />
|
||||
<a href="./financialpost-fishing-for-chips/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./financialpost-fishing-for-chips/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./financialpost-fishing-for-chips/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>nytimes-podcasts<br />
|
||||
<a href="./nytimes-podcasts/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./nytimes-podcasts/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./nytimes-podcasts/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>variety<br />
|
||||
<a href="./variety/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./variety/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./variety/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</td>
|
||||
<td valign="top">
|
||||
<iframe name="iframe_b" frameborder="1" scrolling="yes" width="100%" height="1080">
|
||||
<p>Your browser does not support iframes.</p>
|
||||
</iframe>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
1114
packages/readabilityjs/test/view.html
Normal file
1114
packages/readabilityjs/test/view.html
Normal file
File diff suppressed because it is too large
Load Diff
@ -3,7 +3,8 @@
|
||||
from os import listdir
|
||||
from os.path import isfile, join
|
||||
|
||||
testdirs = [f for f in listdir(".") if not isfile(join(".", f))]
|
||||
testdirs = [f for f in listdir(
|
||||
"test-pages") if not isfile(join("test-pages", f))]
|
||||
|
||||
print("""
|
||||
<!DOCTYPE html>
|
||||
@ -25,9 +26,9 @@ print("""
|
||||
for testdir in testdirs:
|
||||
print(f"""
|
||||
<li>{testdir}<br />
|
||||
<a href="./{testdir}/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./{testdir}/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./{testdir}/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
<a href="./test-pages/{testdir}/source.html" target="iframe_b">[source]</a>
|
||||
<a href="./test-pages/{testdir}/expected.html" target="iframe_b">[readability]</a>
|
||||
<a href="./test-pages/{testdir}/distiller.html" target="iframe_b">[dom-distiller]</a>
|
||||
</li>
|
||||
""")
|
||||
|
||||
Reference in New Issue
Block a user