bugtex4ht - Bugs: bug #277, make timestamps in HTML output...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #277: make timestamps in HTML output optional

Submitted by:  Erik Brangs <ebrangs>
Submitted on:  Tue Mar 29 15:11:58 2016  
 
Category: NonePriority: 5 - Normal
Severity: 1 - WishStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Thu Mar 31 21:26:42 2016, comment #5:

thanks. i found several more uses of :today, and either configured them similarly (off by default, timestamp option to enable) or just deleted them (css files, a couple others where the code wasn't following the same pattern. installed in tex4ht (r164) and tl (r40194).

the massive code duplication throughout the sources continues to be a big headache. sigh.

Karl Berry <karl>
Project Administrator
Wed Mar 30 10:47:40 2016, comment #4:

OK, no problem, you are probably right. There is another patch :)

(file #233)

Michal Hoftich <michal_h21>
Project Member
Wed Mar 30 00:37:49 2016, comment #3:

thanks for the report (Erik) and patch (Michal).

unless someone objects, i actually think it would be better to remove timestamps by default and let enabling them be the option. those gratuitious changes in the output have always been a hassle.
wdyt?

Karl Berry <karl>
Project Administrator
Tue Mar 29 17:53:44 2016, comment #2:

Thanks.

Disabling the timestamp only on request is fine for my use case.

I suppose Debian could always carry a custom patch if they'd rather not have timestamps by default.

Erik Brangs <ebrangs>
Tue Mar 29 17:22:57 2016, comment #1:

I think that it is better to introduce option to disable the timestamp if it isn't needed, rather than to disable it by default. I've added `notimestamp` option to tex4ht-html4.tex, the patch is attached.

(file #232)

Michal Hoftich <michal_h21>
Project Member
Tue Mar 29 15:11:58 2016, original submission:

Currently, tex4ht always outputs meta tags that contain the date. Please consider introducing an option to control this behaviour. There's a patch ( debdiff.txt ) for the Debian package of tex4ht at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=789843 that could possibly be adapted to implement this. The patch likely wasn't forwarded to you because the Debian package currently has no Debian maintainer.

A potential use case for the control of date in meta tags is the update of HTML files that are kept in a version control repository. If all HTML files are always generated at once (even for source files that didn't change), the new HTML files will differ from the old ones only in the date. This leads to diffs that mostly contain noise (i.e. the changed dates). That makes the real changes harder to spot.

Erik Brangs <ebrangs>

 

Attached Files
file #233:  timestamp.patch added by michal_h21 (1023B - text/x-patch)
file #232:  notimestamp.patch added by michal_h21 (1005B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by karl (Posted a comment)
  • -unavailable- added by michal_h21 (Updated the item)
  • -unavailable- added by ebrangs (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    3 latest changes follow.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu Mar 31 21:26:42 2016karlOpen/ClosedOpen=>Closed
    Wed Mar 30 10:47:40 2016michal_h21Attached File-=>Added timestamp.patch, #233
    Tue Mar 29 17:22:57 2016michal_h21Attached File-=>Added notimestamp.patch, #232
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray