Skip to content
Billy Humphreys edited this page Sep 13, 2016 · 7 revisions

Examples

Meta Tags

<head>
    <!-- stylesheets are referenced in the usual manner -->
    <link rel="stylesheet" type="text/css" href="stylesheet.css">

    <!-- .kwpcf resource precache -->
    <!-- (there can be more than one of these!) -->
    <meta name="kwprecache" content="precache.kwpcf">

    <!-- kwhistory-stack -->
    <!-- Other content values may be "no-stack" and "reset-pos" -->
    <meta name="kwhistory-stack" content="clear-stack">

    <!-- kwhistory-overwrite -->
    <meta name="kwhistory-overwrite" content="">

</head>

Flipnote Thumbnail list

Without coin counter display:

<body>
...
    <kwmemolist page_by_memo_id="">
        <!-- Simple Flipnote thumbnail, tapping the image will play the Flipnote -->
        <!-- memo_id is important, it is used for the 'Flipnote details' link -->
        <kwmemolistthumb src="example/thumbnail.jpg" href="example/flipnote.kwz" child="" lock="" memo_id="123456" hreftype="get_kwz" coinmenu_enable="off_all">
        <!-- Flipnote thumbnail will have the 'spin-off' and 'lock' badges -->
        <kwmemolistthumb src="example/thumbnail.jpg" href="example/flipnote.kwz" child="on" lock="on" memo_id="123456" hreftype="get_kwz" coinmenu_enable="off_all">
        <!-- List button item (links to another page) -->
        <!-- (Background image is 80 x 60 px) -->
        <kwmemolistbutton href="example/next_page.html" src="button_bg_image.gif" text="Next" color="#FFFFFF">
    </kwmemolist>
...
</body>

With coin display

<body>
...
    <kwmemolist page_by_memo_id="">
        <!-- Simple Flipnote thumbnail, tapping the image will play the Flipnote -->
        <!-- memo_id is important, it is used for the 'Flipnote details' link -->
        <kwmemolistthumb src="example/thumbnail.jpg" href="example/flipnote.kwz" child="" lock="" memo_id="123456" hreftype="get_kwz" coin="999">
        <!-- Flipnote thumbnail will have the 'spin-off' and 'lock' badges -->
        <kwmemolistthumb src="example/thumbnail.jpg" href="example/flipnote.kwz" child="on" lock="on" memo_id="123456" hreftype="get_kwz" coin"999">
        <!-- List button item (links to another page) -->
        <!-- (Background image is 80 x 60 px) -->
        <kwmemolistbutton href="example/next_page.html" src="button_bg_image.gif" text="Next" color="#FFFFFF">
    </kwmemolist>
...
</body>

In addition to this, you'll probably want a "Details" button inside <fix></fix>:

<fix>
...
    <!-- "@selected_memo_id" is replaced with the contents of the memo_id attribute -->
    <kwmemolistmenubar detail_href="example/@selected_memo_id/details.html" detail_text="Details" post_href="" post_text="">
...
</fix>