All Projects → XML-Comp → Xml Comp

XML-Comp / Xml Comp

Licence: mit
Compare ANY markup documents.

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Xml Comp

Xxexploiter
Tool to help exploit XXE vulnerabilities
Stars: ✭ 243 (+1418.75%)
Mutual labels:  xml, file
Filecontextcore
FileContextCore is a "Database"-Provider for Entity Framework Core and adds the ability to store information in files instead of being limited to databases.
Stars: ✭ 91 (+468.75%)
Mutual labels:  xml, file
Tableexport
tableExport(table导出文件,支持json、csv、txt、xml、word、excel、image、pdf)
Stars: ✭ 261 (+1531.25%)
Mutual labels:  xml, file
Xlog
Android logger, pretty, powerful and flexible, log to everywhere, save to file, all you want is here.
Stars: ✭ 2,468 (+15325%)
Mutual labels:  xml, file
Getsimplecms
GetSimple CMS
Stars: ✭ 333 (+1981.25%)
Mutual labels:  xml, file
Etree
parse and generate XML easily in go
Stars: ✭ 763 (+4668.75%)
Mutual labels:  xml
Rss Parser
A lightweight RSS parser, for Node and the browser
Stars: ✭ 793 (+4856.25%)
Mutual labels:  xml
Textfieldboxes
Material Design text field that comes in a box, based on (OLD) Google Material Design guidelines.
Stars: ✭ 760 (+4650%)
Mutual labels:  xml
Array To Xml
A simple class to convert an array to xml
Stars: ✭ 744 (+4550%)
Mutual labels:  xml
Aetherupload Laravel
A Laravel package to upload large files 上传大文件的Laravel扩展包
Stars: ✭ 835 (+5118.75%)
Mutual labels:  file
Bilibili Evolved
强大的哔哩哔哩增强脚本
Stars: ✭ 10,368 (+64700%)
Mutual labels:  translation
Depth
Add some Depth to your fragments
Stars: ✭ 789 (+4831.25%)
Mutual labels:  translation
Ehsyringe
E 站注射器,将中文翻译注入到 E 站体内
Stars: ✭ 759 (+4643.75%)
Mutual labels:  translation
Django Rosetta
Rosetta is a Django application that eases the translation process of your Django projects
Stars: ✭ 806 (+4937.5%)
Mutual labels:  translation
Dasel
Query, update and convert data structures from the command line. Comparable to jq/yq but supports JSON, TOML, YAML, XML and CSV with zero runtime dependencies.
Stars: ✭ 759 (+4643.75%)
Mutual labels:  xml
Cardinalpgm Maps
Make OCN Great Again!
Stars: ✭ 6 (-62.5%)
Mutual labels:  xml
React I18next
Internationalization for react done right. Using the i18next i18n ecosystem.
Stars: ✭ 6,942 (+43287.5%)
Mutual labels:  translation
Ailab
Experience, Learn and Code the latest breakthrough innovations with Microsoft AI
Stars: ✭ 6,896 (+43000%)
Mutual labels:  translation
Fluent
Fluent — planning, spec and documentation
Stars: ✭ 818 (+5012.5%)
Mutual labels:  translation
System Design Primer Zh Tw
system-design-primer 繁體中文翻譯計畫。原作者:https://github.com/donnemartin/system-design-primer
Stars: ✭ 776 (+4750%)
Mutual labels:  translation

LICENSE GoDoc Go Report Card codebeat badge

Top Level Coverage Travis Build Status DOI

Awesome

Donate

Menu

  1. What is XML-Comp?
  2. Features
  3. Installing
  4. Running
  5. How this works?
  6. Comparing any kind of document
  7. Contributing
  8. To Do
  9. Using only the comparer package

What is XML-Comp

This is a command line tool and a package that together they provide the capability of comparing two directories and appending to files the differences between the directories, also creates possible files or folders that are missing. It was made to help RimWorld's community translators(1) to know what was modified on the last XML updates and to let them keep in track of what they need to add/remove from what has been done.

(1) and maybe other indie games that uses XML

Features

Installing

$ go get github.com/XML-Comp/XML-Comp

Running

$ XML-Comp -translation /path/to/language/translation

How this works?

You need the path that is called "translation", which are described bellow:

  • "translation": Full path directory of your RimWorld Language folder cloned from GitHub.

My "translation" path: /Users/arthur/Github/RimWorld-PortugueseBrazilian

With this path in hand, running xml-comp -translation your/path/to/translation will let you know in every file of your project what is missing by adding lines to it with what is needed to translate! That simple!

[RIMWORLD not installed in standard path]

If by any reason you did not install the game on Steam's standard path or want to use a different one, It's possible to use the original flag that exposes your customized path to the game as shows:

  • "original": Full path directory of your RimWorld English folder (optional). My "original" path (optional): /Users/arthur/Library/Application Support/Steam/steamapps/common/RimWorld/RimWorldMac.app/Mods/Core/Languages/English

In order to use this flag you'll need to parse it with the translation flag as in: xml-comp -original path/... -translation path/...

Comparing any kind of document

To compare any kind of files, all you need is to use the flag -doc <type name>, eg -doc html. This will use the paths that you gave only to compare the specified type of document. Another example:

$ XML-Comp -doc html -original path/to/It -translation path/to/It

OBS: This is not required, by default It's comparing all .xml files that are encountered.

Contributing

Join our Gitter

To Do - Check our Issues & Milestones

Using only the comparer package

// Import the package
import "github.com/XML-Comp/XML-Comp/comparer"
// Set document type variable to the desired document
// without the "." | eg: "xml" or "html"
comparer.DocType = "html"
// Start the main function with the full paths to compare
// the firstPath is always what will be used as model
func main() {
    err := comparer.Compare(firstPath, comparingPath)
    if err != nil {
        log.Fatal(err)
    }
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].