View Single Post
Old 11-12-2014, 01:23 PM   #22
sakib
Nameless Being
 
Here's couple of patches that possibly can improve reading experience.
First one to outline several important articles' parts: 0001-recipes-lwn_weekly-outline-quize-box-authors.patch.zip
Code:
Fill authors names in articles headers with bg color
to separate them from article body. The same for
quiz boxes, plus outline them with border line,
as they're put directly within article's text.
Looks like this:
Before/After
Click image for larger version

Name:	outline_before_after.png
Views:	293
Size:	64.9 KB
ID:	130986
Click image for larger version

Name:	quiz_before_after.png
Views:	284
Size:	119.6 KB
ID:	130987

Second one to make in-article tables work: 0002-recipes-lwn_weekly-improve-table-handling.patch.zip
Code:
Site uses table layout a lot, both for page formatting
and within article's text, yet we clean up all tags
before & after article text, and remove what's left
from tables in-between, also removing useful tables
often embedded within articles. The better way seems
to keep only parts we actually interested about:
PageHeadline (article's title) and ArticleText and
not linearize table within ArticleText tag, thus
preserving useful tables.
Looks like this:
Before/After
Click image for larger version

Name:	table_before_after.png
Views:	313
Size:	101.0 KB
ID:	130988
Click image for larger version

Name:	table_before_after2.png
Views:	301
Size:	88.8 KB
ID:	130989

Patches can be generally useful and may be worth considering to cherry-pick them, as well as patch from previous post (#21)
  Reply With Quote