Open-source C# libraries which JsonFx.NET builds upon…

These libraries are distributed under the terms of an MIT-style license.


HtmlDistiller

HTML parser and filter library

Features pluggable sets of custom HTML tag/attribute/style filters.

Included is an example filter which is a web crawler

Optional limit for total length of text (not including tags, HTML entities)

Optional whitespace normalization

Optionally encodes non-ASCII characters, or optionally decodes HTML entities

CssCompactor

Cascading StyleSheet compactor and syntax validator

Features basic syntax checking, whitespace normalization, comment stripping, and compaction. Allows ease of reading with verbose comments while still keeping the download light.

Designed to be part of an automated build process. Emits syntax errors as Visual Studio error and warning statements so when called from build events the errors show up in the errors list.

Usage: CssCompactor /IN:myFile.css /OUT:compacted/myFile.css /INFO:"(c)2007 My CSS" /TIME:"'Compacted 'yyyy-MM-dd @ HH:mm"

WebFeeds

RSS/Atom Feed Library

Allows roundtrip serialization and deserialization of common feed formats.

A complete object model for Atom 1.0/0.3, RSS 2.0, and RSS 1.0 (RDF) plus associated IHttpAsyncHandlers for generating feeds.

Creating a custom feed is as easy as inheriting from Handler, overriding a method which returns the feed object.

Extensible Adapter model allows additional extensions (i.e. "modules") such as Dublin Core (provided as an example adapter)

Common feed interface allows reading all feeds with same object model.

ExifUtils

EXIF Utility Library

Supports reading, writing and cloning EXIF metadata found in Digital Still Camera (DSC) JPEG photos

Wraps the cumbersome GDI+ methods with a simple comprehensive interface

Provides support for all JEITA EXIF 2.2 tags via Dictionary-style collection

EXIF tag IDs (and many values) are human-readable enums

MimeUtils

MIME Utility Library

Extensive MIME type database providing conversion between file extension, content-type, and descriptions.

Repository is XML-based for ease of adding custom MIME types.

AutoVersioning v1.0.0903.1108

Utility for auto-managing version numbers

Outputs a C# source file which may be built into an assembly to specify the build version number.

By default, generates date-based version numbers with a maximum resolution of 1 hour.

Optionally accepts a fully specified version number based upon other schemes (e.g. SVN revision).

Browser Fixes v1.0.0809.2109

Fixes common browsers incorrectly detected by ASP.NET