Created
October 31, 2013 02:48
-
-
Save schneidan/7243690 to your computer and use it in GitHub Desktop.
An early example of code designed to create manually-paginated stories from multiple NGPS articles.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//---------------------------------// | |
// PAGINATION FOR ARTICLE BOTTOM // | |
//---------------------------------// | |
<ul> | |
<hr size="1"> | |
<center> | |
<a href="http://www.denverpost.com/diego/ci_16370328">PREVIOUS</a> | | |
<a href="http://www.denverpost.com/diego/ci_16370328">1</a> | | |
<a href="http://www.denverpost.com/diego/ci_16372268">2</a> | | |
<a href="http://www.denverpost.com/diego/ci_16372269">3</a> | | |
<a href="http://www.denverpost.com/diego/ci_16372270">4</a> | | |
<a href="http://www.denverpost.com/diego/ci_16372270">NEXT</a> | |
</center> | |
<hr size="1"> | |
<!-- OPTIONAL PORTION for stories with MULTIPLE PARTS, each having MULTIPLE PAGES --> | |
<h4 style="font-size:12px;"><a href="/diego">THE STORY OF DIEGO LEMOS</a></h4> | |
<p><a href="http://www.denverpost.com/diego/ci_16350533">PART 1: Comeback kid</a></p> | |
<p><a href="http://www.denverpost.com/diego/ci_16363984">PART 2: The decision</a></p> | |
<p><a href="http://www.denverpost.com/diego/ci_16370328">PART 3: A new normal</a></p> | |
<hr size="1"> | |
<!-- END OPTIONAL MULTI-STORY BLOCK --> | |
</ul> | |
//---------------------------------// | |
// PHOTO CAPTION LINK // | |
//---------------------------------// | |
<strong> <a href="http://photos.denverpost.com/mediacenter/category/special-projects/diego-lemos/" target="_blank">Videos and Photos</a></strong> | |
//---------------------------------// | |
// IN-ARTICLE FREEFORM SNIPPET // | |
//---------------------------------// | |
<ul> | |
<li class="link"><a href="http://www.denverpost.com/news/ci_16350533" class="listingArticleLinkTo"><b>Part 1:</b> Comeback kid</a></li> | |
<li class="link"><a href="http://www.denverpost.com/news/ci_16363984" class="listingArticleLinkTo"><b>Part 2:</b> The decision</a></li> | |
<li class="link"><a href="http://photos.denverpost.com/mediacenter/2010/10/slideshow-diego-lemos/" class="listingArticleLinkTo"><b>Slide show:</b> More images from the series</a></li> | |
</ul> | |
//---------------------------------// | |
// ADDITIONAL NOTES // | |
//---------------------------------// | |
-Use SUBHED field for "Page 2 of 4" etc. | |
-COMPLETELY produce story first, then make copies (includes freeforms, etc.) | |
-Maintain a copy of the FULL TEXT in Notepad for disassembly/assembly/backup purposes -- copy pieces out and into Page 1, Page 2 articles, etc. | |
-SPREAD OUT photos and videos throughout pages -- don't duplicate, but don't leave later pages devoid of visual offerings. | |
-Add the "[function] hide the comments on an article (11731129)" to all pages after the first, then use the MERGE TOOL to merge comments on all stories into the one parent story. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment