Downloads:

3,707

Downloads of v 5.2.0.20170301:

244

Last Update:

01 Mar 2017

Package Maintainer(s):

Software Author(s):

  • HTACG

Tags:

foss cross-platform xml html tidy html5

HTML Tidy with HTML5 support

This is not the latest version of HTML Tidy with HTML5 support available.

5.2.0.20170301 | Updated: 01 Mar 2017

Downloads:

3,707

Downloads of v 5.2.0.20170301:

244

Maintainer(s):

Software Author(s):

  • HTACG

HTML Tidy with HTML5 support 5.2.0.20170301

This is not the latest version of HTML Tidy with HTML5 support available.

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

To install HTML Tidy with HTML5 support, run the following command from the command line or from PowerShell:

>

To upgrade HTML Tidy with HTML5 support, run the following command from the command line or from PowerShell:

>

To uninstall HTML Tidy with HTML5 support, run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade html-tidy -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade html-tidy -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure html-tidy installed
  win_chocolatey:
    name: html-tidy
    state: present
    version: 5.2.0.20170301
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'html-tidy' do
  action    :install
  version  '5.2.0.20170301'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: html-tidy,
    Version: 5.2.0.20170301,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller html-tidy
{
   Name     = 'html-tidy'
   Ensure   = 'Present'
   Version  = '5.2.0.20170301'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'html-tidy':
  provider => 'chocolatey',
  ensure   => '5.2.0.20170301',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install html-tidy version="5.2.0.20170301" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 01 Mar 2017.

Description

Tidy is a console application for Mac OS X, Linux, Windows, UNIX, and more. It corrects and cleans up HTML and XML documents by fixing markup errors and upgrading legacy code to modern standards.

libtidy is a C static and dynamic library that developers can integrate into their applications in order to bring all of Tidy’s power to your favorite tools. libtidy is used today in desktop applications, web servers, and more.

The HTML Tidy library, libtidy, is used and incorporated into many applications and projects. It offers an extensive API to read in and parse html from a file or buffer into a DOM like node tree, has cleaning and diagnostic services, ability to iterate through this node tree, interogating attributes, child nodes, and a pretty print output.


legal\LICENSE.md.txt
# HTML Tidy

## HTML parser and pretty printer

Copyright (c) 1998-2016 World Wide Web Consortium
(Massachusetts Institute of Technology, European Research 
Consortium for Informatics and Mathematics, Keio University).
All Rights Reserved.

Additional contributions (c) 2001-2016 University of Toronto, Terry Teague, 
@geoffmcl, HTACG, and others.

### Contributing Author(s):

  Dave Raggett <[email protected]>

The contributing author(s) would like to thank all those who
helped with testing, bug fixes and suggestions for improvements. 
This wouldn't have been possible without your help.

## COPYRIGHT NOTICE:

This software and documentation is provided "as is," and
the copyright holders and contributing author(s) make no
representations or warranties, express or implied, including
but not limited to, warranties of merchantability or fitness
for any particular purpose or that the use of the software or
documentation will not infringe any third party patents,
copyrights, trademarks or other rights. 

The copyright holders and contributing author(s) will not be held
liable for any direct, indirect, special or consequential damages
arising out of any use of the software or documentation, even if
advised of the possibility of such damage.

Permission is hereby granted to use, copy, modify, and distribute
this source code, or portions hereof, documentation and executables,
for any purpose, without fee, subject to the following restrictions:

1. The origin of this source code must not be misrepresented.
2. Altered versions must be plainly marked as such and must
not be misrepresented as being the original source.
3. This Copyright notice may not be removed or altered from any
source or altered source distribution.

The copyright holders and contributing author(s) specifically
permit, without fee, and encourage the use of this source code
as a component for supporting the Hypertext Markup Language in
commercial products. If you use this source code in a product,
acknowledgement is not required but would be appreciated.
legal\VERIFICATION.txt
VERIFICATION

Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

Package can be verified like this:

1. Go to

   x32: https://github.com/htacg/tidy-html5/releases/download/5.2.0/tidy-5.2.0-win32.zip
   x64: https://github.com/htacg/tidy-html5/releases/download/5.2.0/tidy-5.2.0-win64.zip

   to download the installer.

2. You can use one of the following methods to obtain the SHA256 checksum:
   - Use powershell function 'Get-FileHash'
   - Use Chocolatey utility 'checksum.exe'

   checksum32: 94D653498B4F93B14F12A55CA06154E19C540C9B276E5D163F1CF84FA078F97A
   checksum64: DD9FD814CC44BC2FFA9B9E547B1A6CBB42B6BE7B9358542D3EE7F6E10B676423

Using AU:

   Get-RemoteChecksum https://github.com/htacg/tidy-html5/releases/download/5.2.0/tidy-5.2.0-win64.zip

File 'license.md' is obtained from:
   https://raw.githubusercontent.com/htacg/tidy-html5/master/README/LICENSE.md
tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'

$toolsDir      = Split-Path $MyInvocation.MyCommand.Definition
$embedded_path = if ((Get-ProcessorBits 64) -and $env:chocolateyForceX86 -ne 'true') {
         Write-Host "Installing 64 bit version"; gi "$toolsDir\*_x64.zip"
} else { Write-Host "Installing 32 bit version"; gi "$toolsDir\*_x32.zip" }

$packageArgs = @{
    PackageName  = 'html-tidy'
    FileFullPath = $embedded_path
    Destination  = $toolsDir
}
ls $toolsDir\* | ? { $_.PSISContainer } | rm -Recurse -Force #remove older package dirs
Get-ChocolateyUnzip @packageArgs
rm $toolsDir\*.zip -ea 0
tools\tidy-5.2.0-win32_x32.zip
md5: 855990F589D533E5B62E33C818ECB562 | sha1: 2DEB9BABD9BD6203E63622331FF0322E5E9B1533 | sha256: 94D653498B4F93B14F12A55CA06154E19C540C9B276E5D163F1CF84FA078F97A | sha512: 640F6F8E49A10918CE76782AC25750B1AD3DD7AFF91F82E7C21166C0F1F1E41EB8637CE1AF455EF9D38B20F80304FECFE9B6B3CA353B021C66A89CA4D0B897C5
tools\tidy-5.2.0-win64_x64.zip
md5: 678A24AF36906C9E0D46A8D2543AA75C | sha1: 7199905B74C47260FE91EFA5EDD96060CF702A32 | sha256: DD9FD814CC44BC2FFA9B9E547B1A6CBB42B6BE7B9358542D3EE7F6E10B676423 | sha512: 009A0BD1DE87041A001AA4A0B56F603C0D759E3B892031D459CC07253E0E70E881DF1E8735FC13250BE3455227E3F1CD558ABD59C2A6B4F532687F51063972B5

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
HTML Tidy with HTML5 support 5.4.0 623 Wednesday, March 1, 2017 Approved
HTML Tidy with HTML5 support 5.2.0.20170301 244 Wednesday, March 1, 2017 Approved
HTML Tidy with HTML5 support 5.2.0.20170228 232 Tuesday, February 28, 2017 Approved
HTML Tidy with HTML5 support 5.2.0.20160708 442 Sunday, August 7, 2016 Approved
HTML Tidy with HTML5 support 5.2.0 296 Wednesday, April 13, 2016 Approved
HTML Tidy with HTML5 support 5.1.25 264 Saturday, March 12, 2016 Approved

This package has no dependencies.

Discussion for the HTML Tidy with HTML5 support Package

Ground Rules:

  • This discussion is only about HTML Tidy with HTML5 support and the HTML Tidy with HTML5 support package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or HTML Tidy with HTML5 support, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus