mirror of
https://github.com/foo-dogsquared/wiki.git
synced 2025-01-31 01:57:54 +00:00
25 lines
9.1 KiB
HTML
25 lines
9.1 KiB
HTML
<!DOCTYPE html><html><head><meta name="viewport" content="width=device-width"/><meta charSet="utf-8"/><title>File metadata</title><script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script><script id="MathJax-script" async="" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script><script type="text/x-mathjax-config">
|
|
MathJax = {
|
|
tex: {
|
|
inlineMath: [ ['$','$'], ['\(','\)'] ],
|
|
displayMath: [ ['$$','$$'], ['[',']'] ]
|
|
},
|
|
options = {
|
|
processHtmlClass = "math"
|
|
}
|
|
}
|
|
</script><meta name="next-head-count" content="6"/><link rel="preload" href="/wiki/_next/static/css/52fc2ba29703df73922c.css" as="style"/><link rel="stylesheet" href="/wiki/_next/static/css/52fc2ba29703df73922c.css" data-n-g=""/><noscript data-n-css=""></noscript><link rel="preload" href="/wiki/_next/static/chunks/main-ae4733327bd95c4ac325.js" as="script"/><link rel="preload" href="/wiki/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js" as="script"/><link rel="preload" href="/wiki/_next/static/chunks/framework.9d524150d48315f49e80.js" as="script"/><link rel="preload" href="/wiki/_next/static/chunks/commons.0e1c3f9aa780c2dfe9f0.js" as="script"/><link rel="preload" href="/wiki/_next/static/chunks/pages/_app-8e3d0c58a60ec788aa69.js" as="script"/><link rel="preload" href="/wiki/_next/static/chunks/940643274e605e7596ecea1f2ff8d83317a3fb76.4841a16762f602a59f00.js" as="script"/><link rel="preload" href="/wiki/_next/static/chunks/pages/%5B%5B...slug%5D%5D-1aa198f87ede1cd0e1dc.js" as="script"/></head><body><div id="__next"><main><h1>File metadata</h1><section class="post-metadata"><span>Date: <!-- -->2020-04-13 17:32:27 +08:00</span><span>Date modified: <!-- -->2021-05-21 18:50:11 +08:00</span></section><nav class="toc"><ol class="toc-level toc-level-1"></ol></nav><p>File metadata is one of the most subtle requirements in <a href="/wiki/2020-04-23-23-21-47">Personal information management</a>.
|
|
It embeds data without relying too much on filesystem such as the file name, creation date, and modification date.
|
|
</p><p>Each type of files have different ways of embedding metadata:
|
|
</p><ul><li><p>Image files such as JPEG or PNG, metadata are embedded in Exchangeable image file format (EXIF).
|
|
</p></li><li><p>MP3 files have the ID3 format.
|
|
</p></li><li><p>Vorbis comments is a universal format commonly found on OGG.
|
|
</p></li><li><p>HTML documents contain the <code class="inline-code"><head></code> element to store the metadata.
|
|
</p></li><li><p><a href="/wiki/2020-04-20-16-51-40">Org mode</a> and Asciidoctor documents allow file-level properties that are functionally equivalent to embedded metadata.
|
|
</p></li><li><p>Universal formats such as Extensible metadata platform (XMP) or Meta Information Encapsulation (MIE) available either as embedded or a separate file.
|
|
</p></li></ul><p>Tools exist for writing and reading data such as <a href="https://exiftool.org/">Exiftool</a>.
|
|
While file metadata are good and dandy, don't worry too much on them.
|
|
Just start with the more important data such as the title, authors, and the date.
|
|
It is preferred if you can edit the metadata manually so you can mark more relevant information.
|
|
Having too much however might as well have no metadata due to information overload.
|
|
</p><section><h2>Backlinks</h2><ul><li><a href="/wiki/2020-04-14-18-28-55">Maintain your own digital library</a></li><li><a href="/wiki/2020-04-15-20-41-51">Add a desktop search engine for your digital library</a></li><li><a href="/wiki/2020-04-23-23-21-47">Personal information management</a></li><li><a href="/wiki/2020-06-04-21-32-23">Digital gardens</a></li><li><a href="/wiki/2020-06-27-16-21-47">Apply search tools and techniques for your digital library</a></li><li><a href="/wiki/2020-09-16-23-09-01">Use timestamps as a future-proofing method</a></li><li><a href="/wiki/2021-05-13-11-43-13">Recoll</a></li></ul></section></main></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"metadata":{"date":"\"2020-04-13 17:32:27 +08:00\"","date_modified":"\"2021-05-21 18:50:11 +08:00\"","language":"en","source":""},"title":"File metadata","hast":{"type":"root","children":[{"type":"element","tagName":"nav","properties":{"className":"toc"},"children":[{"type":"element","tagName":"ol","properties":{"className":"toc-level toc-level-1"},"children":[]}]},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"File metadata is one of the most subtle requirements in "},{"type":"element","tagName":"a","properties":{"href":"/2020-04-23-23-21-47"},"children":[{"type":"text","value":"Personal information management"}]},{"type":"text","value":".\nIt embeds data without relying too much on filesystem such as the file name, creation date, and modification date.\n"}]},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Each type of files have different ways of embedding metadata:\n"}]},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Image files such as JPEG or PNG, metadata are embedded in Exchangeable image file format (EXIF).\n"}]}]},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"MP3 files have the ID3 format.\n"}]}]},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Vorbis comments is a universal format commonly found on OGG.\n"}]}]},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"HTML documents contain the "},{"type":"element","tagName":"code","properties":{"className":["inline-code"]},"children":[{"type":"text","value":"\u003chead\u003e"}]},{"type":"text","value":" element to store the metadata.\n"}]}]},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"a","properties":{"href":"/2020-04-20-16-51-40"},"children":[{"type":"text","value":"Org mode"}]},{"type":"text","value":" and Asciidoctor documents allow file-level properties that are functionally equivalent to embedded metadata.\n"}]}]},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Universal formats such as Extensible metadata platform (XMP) or Meta Information Encapsulation (MIE) available either as embedded or a separate file.\n"}]}]}]},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Tools exist for writing and reading data such as "},{"type":"element","tagName":"a","properties":{"href":"https://exiftool.org/"},"children":[{"type":"text","value":"Exiftool"}]},{"type":"text","value":".\nWhile file metadata are good and dandy, don't worry too much on them.\nJust start with the more important data such as the title, authors, and the date.\nIt is preferred if you can edit the metadata manually so you can mark more relevant information.\nHaving too much however might as well have no metadata due to information overload.\n"}]}]},"backlinks":[{"path":"/2020-04-14-18-28-55","title":"Maintain your own digital library"},{"path":"/2020-04-15-20-41-51","title":"Add a desktop search engine for your digital library"},{"path":"/2020-04-23-23-21-47","title":"Personal information management"},{"path":"/2020-06-04-21-32-23","title":"Digital gardens"},{"path":"/2020-06-27-16-21-47","title":"Apply search tools and techniques for your digital library"},{"path":"/2020-09-16-23-09-01","title":"Use timestamps as a future-proofing method"},{"path":"/2021-05-13-11-43-13","title":"Recoll"}]},"__N_SSG":true},"page":"/[[...slug]]","query":{"slug":["data.file-metadata"]},"buildId":"Ie9t5zutrXP6Of75Cb5xF","assetPrefix":"/wiki","nextExport":false,"isFallback":false,"gsp":true}</script><script nomodule="" src="/wiki/_next/static/chunks/polyfills-99d808df29361cf7ffb1.js"></script><script src="/wiki/_next/static/chunks/main-ae4733327bd95c4ac325.js" async=""></script><script src="/wiki/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js" async=""></script><script src="/wiki/_next/static/chunks/framework.9d524150d48315f49e80.js" async=""></script><script src="/wiki/_next/static/chunks/commons.0e1c3f9aa780c2dfe9f0.js" async=""></script><script src="/wiki/_next/static/chunks/pages/_app-8e3d0c58a60ec788aa69.js" async=""></script><script src="/wiki/_next/static/chunks/940643274e605e7596ecea1f2ff8d83317a3fb76.4841a16762f602a59f00.js" async=""></script><script src="/wiki/_next/static/chunks/pages/%5B%5B...slug%5D%5D-1aa198f87ede1cd0e1dc.js" async=""></script><script src="/wiki/_next/static/Ie9t5zutrXP6Of75Cb5xF/_buildManifest.js" async=""></script><script src="/wiki/_next/static/Ie9t5zutrXP6Of75Cb5xF/_ssgManifest.js" async=""></script></body></html> |