User:Acegiak.net

From IndieWeb

Ashton McAllan

Acegiak is a web and game developer from Adelaide, South Australia.

Developing WhisperFollow

Posts to http://acegiak.net running Wordpress POSSEs to:


Wordpress IndieWeb Reply Workflow

Reads posts in WhisperFollow feed. Capture1.jpg

Clicks "reblog" button, ticks or unticks "like" and "citation" as desired. Enters any comment/reply text in the "text" box. Clicks "Go" button to submit. This sends a Webmention to the target. The new post is a regular wordpress aside in the "Whispers" category (hence the name of the plugin) with custom metadata fields added on for "context", "contextLike" and "contextTarget" which is mandatory for indieweb cross-site posts. Capture2.jpg

On blog homepage the Citation, Like and Comment/Reply are all stored and shown as a single post with combined markup. This avoids restating the target content/citation if multiple actions are taken for a single piece of content:

    <article id="post-3435" class="post-3435 post type-post status-publish format-aside category-whispers h-entry hentry h-as-note" itemprop="blogPost" itemscope="" itemtype="http://schema.org/BlogPosting">
        <div class="p-like p-like-of p-in-reply-to h-cite">
            <blockquote class="p-content">
                <p><a href="http://fahrenheit-469.tumblr.com/post/49952474291/its-2013-can-we-please-have-headphones-that-last">fahrenheit-469</a>:</p>
                <blockquote>
                    <p>its 2014 can we please have headphones that last more than 2 months</p>
                </blockquote>
            </blockquote>
            liked and commented and reposted
            <a class="u-url" href="http://dimensionsinspace.tumblr.com/post/87746288206">@meh: fahrenheit-469: its 2014 can we please have headphones that last more than 2 months</a>
        </div>
        <div class="entry-content e-content p-summary" itemprop="name headline description articleBody">
            <p>The trail of destruction left by my desire to hear things from my computer is a terrifying sight. I’m hoping spending $80 on turtle beach headphones is the investment the audio industry demands for equipment that doesn’t mysteriously stop working after a random number of weeks.</p>
        </div>  
        <footer class="entry-meta">
            <a href="http://acegiak.net/2014/06/04/meh-fahrenheit-469its-2014-can-we-please-have-headphones-that-last-more-than-2-months/" title="2:38 pm" rel="bookmark" class="url u-url">
                <span class="p-name">meh: fahrenheit-469: its 2014 can we please have headphones that last more than 2 months</span>
                -
                <time class="entry-date updated published dt-updated dt-published" datetime="2014-06-04T14:38:13+09:30" itemprop="dateModified">June 4, 2014</time>
            </a>
            <address class="byline">
                <span class="sep"> by </span>
                <span class="author p-author vcard hcard h-card" itemprop="author" itemscope="" itemtype="http://schema.org/Person">
                    <img src="http://gravatar.com/avatar/3b8dc7bd033d373b4e71b122087d11c3?d=mm&s=40&r=G" class="u-photo avatar user-1-avatar avatar-40 photo" width="40" height="40" alt="Avatar o[[Category:WordPress_Examples]] adding user to Category:WordPress_Examples based on /WordPress/Examplesf acegiak">
                    <a class="url uid u-url u-uid fn p-name" href="http://acegiak.net/author/acegiak/" title="View all posts by acegiak" rel="author" itemprop="url">
                        <span itemprop="name">http://acegiak.net</span>
                    </a>
                </span>
            </address>
    </footer>
</article>

Capture3.jpg

When editing the post the Advanced Custom Fields plugin creates input fields for the IndieWeb metadata fields for posts in the Whispers category. Capture4.jpg