I am working with the StackExchange data dump, thanks ot StackExchange's splendid work, the data can not only be processed very conveniently, but also downloaded automatically, based on the files list stackexchange_files.xml
. That list contains all the necessary information to download and verify (based upon total size and hashes etc.) the downloaded file, and the filenames are regular enough to figure out the StackExchange site the file applies to from the filename - at least a unique identifier for each site that matches across files where data from one site is split across multiple files.
However, one information that I would like to get is missing: The human-friendly name of each site. That name cannot be automatically extracted from the dump filenames, at least not with proper casing, as the mapping here is highly irregular (at least from a machine's point of view).
To name some examples (using the "text-only" (non-logo) title as it appears in the browser title bar):
- stackoverflow.com -> Stack Overflow
- codegolf.stackexchange.com -> Programming Puzzles & Code Golf Stack Exchange
- ux.stackexchange.com -> User Experience Stack Exchange
- bricks.stackexchange.com -> LEGO® Answers
- cstheory.stackexchange.com -> Theoretical Computer Science Stack Exchange
Currently, the files list looks like this:
<file name="stackoverflow.com-Users.7z" source="original">
<format>7z</format>
<mtime>1399387539</mtime>
<size>92073166</size>
<md5>be05b595ed9c79ee45e4be1fe319aaf0</md5>
<crc32>96c113b4</crc32>
<sha1>c0e1e4734e6f3d738497c9c0e66d940f976fb3a6</sha1>
</file>
<file name="bicycles.stackexchange.com.7z" source="original">
<format>7z</format>
<mtime>1399390862</mtime>
<size>14820795</size>
<md5>cf7e44ec44cb0f33351dca01160b9a2d</md5>
<crc32>1f926140</crc32>
<sha1>ab5b5928ee346e86117930570b3bdf19fb8372d7</sha1>
</file>
Would it be possible to add an additional attribute or element to indicate the human-friendly site name? This would be useful for converter tools for the data dump, but also for status output during automatical downloading.
For example, like this:
<file name="stackoverflow.com-Users.7z" source="original" label="Stack Overflow">
<format>7z</format>
<mtime>1399387539</mtime>
<size>92073166</size>
<md5>be05b595ed9c79ee45e4be1fe319aaf0</md5>
<crc32>96c113b4</crc32>
<sha1>c0e1e4734e6f3d738497c9c0e66d940f976fb3a6</sha1>
</file>
<file name="bicycles.stackexchange.com.7z" source="original" label="Bycicles Stack Exchange">
<format>7z</format>
<mtime>1399390862</mtime>
<size>14820795</size>
<md5>cf7e44ec44cb0f33351dca01160b9a2d</md5>
<crc32>1f926140</crc32>
<sha1>ab5b5928ee346e86117930570b3bdf19fb8372d7</sha1>
</file>