NewsBlur/templates/static/publishers.xhtml

48 lines
1.7 KiB
HTML
Raw Normal View History

{% extends 'base.html' %}
{% block bodyclass %}NB-static{% endblock %}
{% block content %}
<div class="NB-static-title">
Publishers on NewsBlur
</div>
<div class="NB-module">
<h5 class="NB-module-title">Control the Original View</h5>
<div class="NB-module-content">
2011-04-13 09:42:03 -04:00
<p>To control where stories begin in the Original view, you can use any of these <code>class</code> names in your HTML:</p>
<ul>
<li><code>.entry</code></li>
<li><code>.post</code></li>
<li><code>.postProp</code></li>
<li><code>.article</code></li>
<li><code>#postContent</code></li>
</ul>
<p>If NewsBlur cannot find one of these <code>class</code> names, it will check for the following, in order:</p>
<ul>
<li>Exact match in a single visible element.</li>
<li>Near-match by header tags: <code>h1, h2, h3, h4, h5, h6</code>.</li>
<li>Near-match in a <code>.post</code> or similar class name.</li>
<li>Near-match by font-size (largest font size wins).</li>
<li>Each match is ranked by similarity.</li>
</ul>
<p>To view the exact heuristics used, see <code>find_story_in_feed_iframe</code> in <a href="http://github.com/samuelclay/NewsBlur/tree/master/media/js/newsblur/reader.js">reader.js</a> on GitHub.</p>
</div>
</div>
<div class="NB-module">
<h5 class="NB-module-title">Graceful iFrame Busting</h5>
<div class="NB-module-content">
To ensure that NewsBlur readers only use the Feed view...
</div>
</div>
2011-04-13 09:42:03 -04:00
<div class="NB-module">
<h5 class="NB-module-title">Opt-out of the Original view</h5>
<div class="NB-module-content">
</div>
</div>
{% endblock content %}