Make WordPress Core

Opened 20 years ago

Closed 17 years ago

Last modified 9 years ago

#148 closed enhancement (wontfix)

view paginated pages as single entry for printing

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

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 (3)

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

Download all attachments as: .zip

Change History (16)

#2 @Grod
20 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.

#3 @matt
19 years ago

  • Patch set to No
  • Status changed from new to assigned

#4 @skippy
19 years ago

  • Keywords bg|2nd-opinion added
  • Priority changed from normal to low

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

#5 @skippy
19 years ago

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

#6 @markjaquith
19 years ago

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

Where "All" would compress them all together.

#7 @markjaquith
18 years ago

  • Keywords bg|needs-patch added

#8 @mdawaffe
18 years ago

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

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.

@mdawaffe
18 years ago

?page=0 yields all content concatenated

#9 @mdawaffe
18 years ago

148b.diff

  1. same as before, but will apply cleanly.

@mdawaffe
18 years ago

same as 148b but with some nofollow stuff

@mdawaffe
18 years ago

@4144

#10 @mdawaffe
18 years ago

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?

#11 @matt
17 years ago

  • Resolution set to wontfix
  • Status changed from assigned to closed

#12 @Nazgul
17 years ago

  • Milestone 2.1 deleted

This ticket was mentioned in Slack in #feature-respimg by joemcgill. View the logs.


9 years ago

Note: See TracTickets for help on using tickets.