Ticket #148 (closed enhancement: wontfix)

Opened 8 years ago

Last modified 5 years ago

view paginated pages as single entry for printing

Reported by: Grod Owned by: mdawaffe
Priority: low Milestone:
Component: General Version:
Severity: normal Keywords: bg|2nd-opinion has-patch
Cc: Grod

Description

When using pagination in an entry it should be possible to provide an alternate permalink that gives a printer friendly page. This page would ignore occurances of <!--nextpage--> in a post. This would be useful from an accessibility standpoint , for printing, and for those readers who prefer scrolling over clicking to the next page. The link should be added automatically to the normal permalink in the form of an icon or "print this" text.

Attachments

148.diff Download (6.1 KB) - added by mdawaffe 5 years ago.
?page=0 yields all content concatenated
148c.diff Download (7.0 KB) - added by mdawaffe 5 years ago.
same as 148b but with some nofollow stuff
148b.diff Download (5.7 KB) - added by mdawaffe 5 years ago.
@4144

Change History

comment:1   Grod8 years ago

comment:2   Grod8 years ago

This feature can be enabled as described here:  http://weblog.burningbird.net/archives/2004/07/07/wordpress-modifications/6/ halfway down the page. The modification is simple to make.

comment:3   matt7 years ago

  • Status changed from new to assigned
  • Patch set to No
  • Keywords bg|2nd-opinion added
  • Priority changed from normal to low

Would a simple template tag, linking to a printable view, resolve this?

  • Owner changed from anonymous to skippy
  • Status changed from assigned to new

Basically, I think he wants this: Pages: 1 2 3 4 All

Where "All" would compress them all together.

  • Keywords bg|needs-patch added
  • Keywords has-patch added; bg|needs-patch removed
  • Owner changed from skippy to mdawaffe
  • Status changed from new to assigned
  • Milestone set to 2.1

148.diff

  1. Gets rid of more_file parameter in the_content. It doesn't work and there are better methods for this (theme system, permalink filters, rewrite rules...).
  2. If optional all_page_link parameter is passed, display a link that concatenates all pages.
  3. New query is ?page=0 or /my-page/0/ . Could have gone for ?page=all, but that's not i18n friendly.

?page=0 yields all content concatenated

148b.diff

  1. same as before, but will apply cleanly.

same as 148b but with some nofollow stuff

@4144

Uploaded new versions of 148b and 148c to remove some debugging.

148c.diff: I'm not sure about this, please discuss.

  1. All of 148b.diff
  2. To avoid duplicate content, rel="nofollow" on the "all" link and
  3. meta nofollow,noindex tags on the "all" page. This was done by tweaking noindex() and default-filters.php and throwing a hack into &get_posts.

Is the duplicate content issue a problem at all? If it is, is this a fair solution?

  • Status changed from assigned to closed
  • Resolution set to wontfix
  • Milestone 2.1 deleted
Note: See TracTickets for help on using tickets.