Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metadata #17

Open
flemer opened this issue Feb 26, 2013 · 4 comments
Open

Metadata #17

flemer opened this issue Feb 26, 2013 · 4 comments

Comments

@flemer
Copy link

flemer commented Feb 26, 2013

It would be nice if you provide not only the patterns, but also the metadata, such as pattern names, descriptions, creators and tags, organized in a xml or json file.

@venam
Copy link

venam commented Feb 26, 2013

Can you provide an example of an xml file.

@flemer
Copy link
Author

flemer commented Feb 26, 2013

<?xml version="1.0" encoding="UTF-8"?>

<patterns>
    <pattern>
        <name>Escheresque dark</name>
        <filename>escheresque_dark.png</filename>
        <description>A comeback for you, the populare Escheresque now in black.</description>
        <madeby>Ste Patten</madeby>
        <tags>dark,grid,noise</tags>
    </pattern>

    <pattern>
        <!-- another pattern -->
    </pattern>

    <pattern>
        <!-- another pattern -->
    </pattern>

</patterns>

@venam
Copy link

venam commented Feb 26, 2013

On Tue, 26 Feb 2013 07:10:51 -0800
flemer [email protected] wrote:

<?xml version="1.0" encoding="UTF-8"?>

<patterns>
  <pattern>
      <name>Escheresque dark</name>
      <filename>escheresque_dark.png</filename>
      <description>A comeback for you, the populare Escheresque now in black.</description>
      <madeby>Ste Patten</madeby>
      <tags>dark,grid,noise</tags>
  </pattern>

  <pattern>
      <!-- another pattern -->
  </pattern>

  <pattern>
      <!-- another pattern -->
  </pattern>

</patterns>

Reply to this email directly or view it on GitHub:
#17 (comment)

Seems really easy to implement,

would be even more simple if at the submit time the uploader enters those infos.

Patrick Louis [email protected]
Please, when replying to any of my email do not Top-Post because it breaks the layout.

@yckart
Copy link

yckart commented Mar 10, 2013

Yeah, nice idea. 👍

Mabe like this:

var patterns = [{
    title: "Subtle stripes",
    author: "<a href='http://cargocollective.com/raasa' target='_blank'>Raasa</a>",
    description: "Vertical lines with a bumpy yet crisp feel to it.",
    tags: ["light", "stripes"],
    link: "http://subtlepatterns.com/subtle-stripes/",
    image: "https://github.com/subtlepatterns/SubtlePatterns/raw/master/subtle_stripes.png",
    download: "http://subtlepatterns.subtlepatterns.netdna-cdn.com/patterns/subtle_stripes.zip"
}, {
    title: "Cartographer",
    author: "<a href='http://sam.feyaerts.me' target='_blank'>Sam Feyaerts</a>",
    description: "A topographic map like this has actually been requested a few times, so here you go!",
    tags: ["cartographer", "dark", "topography"],
    link: "http://subtlepatterns.com/cartographer/",
    image: "https://github.com/subtlepatterns/SubtlePatterns/raw/master/cartographer.png",
    download: "http://subtlepatterns.subtlepatterns.netdna-cdn.com/patterns/cartographer.zip"
}];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants