Skip to content

Metadata #17

Open
Open

Description

@flemer

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.

Activity

  1. venam commented on Feb 26, 2013

    @venam

    Can you provide an example of an xml file.

  2. flemer commented on Feb 26, 2013

    @flemer
    Author
    <?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>
  3. yckart commented on Mar 10, 2013

    @yckart

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions