Reposted WordPress Glasgow on Twitter (Twitter)
“Join us this Saturday at @SouthBlockSpace for a full day of #WordPress #OpenSource Step into the community and join the #Accessibility, #Core - #DataPrivacy & #Gutenberg, #Support, #ThemeReview, #Polyglots and #Marketing teams for a fun day! https://t.co/aXbEGVgFst https://t.co/xnDy2I5yks”

Going to pop along to the morning sessions.

Also on:
Replied to INTERTEXTrEVOLUTION by Greg McVerryGreg McVerry (jgregorymcverry.com)
Ahh I think you use SemPress I am using 2016-IndieWeb I want to change the bookmark feed so the title of the post is the title of the source, needs to include link to source, and then my content. For quotes the block quote doesn’t display. I just haven’t had the time to practice making the templ...

Hi Greg,
My bookmark feeds don’t have the titles of the bookmarks. Nor link to them. Ones < 280 chars don’t have titles.

The RSS templates are not in my theme but in WordPress in wp-includes. I added only one of my own for microcasts and it goes in my theme folder. It is added as a custom feed.

I don’t think that the indieweb themes do anything with the RSS. It sounds like you are looking for daring fireball type titles/links? I think there was a plugin for that.

BTW I didn’t, yet, get a mention from your post?

Since joining micro.blog I’ve been messing around with my blog and its RSS on and off. I had settled on removing the titles for status post RSS feed. This means short status posts (<280 characters) were passed over to micro.blog and displayed the whole content there. Longer posts are truncated and linked.

Unfortunately this meant that microblog looks quite ugly sometimes, especially when it posts a truncated indieWeb reaction that includes a quote. So I’ve changed how it works a little to only remove titles from the RSS id there are <280 characters.

This is a status post, so hopefully it will show up on Micro.Blog as a linked title.

Details in this gist: functions that have do with micro.blog and microblogging that live in my child theme’s functions.php

Before and after display of a post in micro.blog

 

As part of my summer holiday fun with WordPress I though I might create a ‘proper’ RSS feed for my microcast.

There are quite a few podcast plugins that would do the job but I though it might be interesting to try a bit of DIY.

Back when I started a class podcast at Radio Sandaig I used to create the RSS feed by hand with a text editor and a fair bit of copy and paste. Over at Edutalk we use feedburner to massage the feed for iTunes.

I used information from How to Roll Your Own Simple WordPress Podcast Plugin | CSS-Tricks to get me started with the template.

I copied the feed-rss2.php file from the wp-includes folder to my child theme folder renaming it feed-microcast.php

wp-content/themes/sempress-child/feed-microcast.php

I adjusted the query to get the posts from my microcast category. I also hard coded the title, link, image and a few other things to simplify the process a little.

I then used the template from CSS-Tricks as a guide to adding the various podcast tags to my template.

This ended up with a pretty broken feed, mostly due to my lack of care, but I fixed it up later I got it linked up.

I didn’t want to use the custom post type approach used in the article because that would involve editing all the old posts or converting them to the new type somehow.

My first idea was to create a feed template and switch to that when the RSS feed for my microcast category was called for.

After failing to get the template to switch for the standard category feed, /category/microcast/feed I ended up with a custom feed at /feed/microcast.

and I add

add_action('init', 'customRSS');
function customRSS(){
        add_feed('microcast', 'customRSSFunc');
}

function customRSSFunc(){
        get_template_part('feed', 'microcast');
}

to my functions.php file.

I then spent a bit of time using the W3C feed validation service until I fixed the feed up to valadate.

I’ve still got to get a link to the feed into the microcast category page head tag and I hope to do that as soon as I’ve gone a bit of research. For now I’ve a link in the sidebar.

Here is the template: WordPress RSS feed template for my microcast

Replied to Creating a tag cloud directory for the Post Kinds Plugin on WordPress by Chris AldrichChris Aldrich (BoffoSocko)
Yesterday after discovering it on Xavier Roy’s site I was reminded that the Post Kinds Plugin is built on a custom taxonomy and, as a result, has the ability to output its taxonomy in typical WordPress Tag Cloud widget. I had previously been maintaining/displaying a separate category structure fo...

I’ve done this, think I might have to read the ‘wp tag cloud’ in the WordPress Codex to make it look a bit nicer.

Liked Workshop to Event Workflow in WordPress by Tom Woodward (bionicteaching.com)
Please think about stuff like this every time you hear a supposed web developer/ed tech person say “WordPress can’t . . . ” I’m not a skilled web developer and if I can figure out these things many others could do far better. Most supposed limitations are a failure of imagination rather than the technology or the skill. Also take note of how many times I tried things here. Not every one was a complete failure but there were plenty of those and a number that didn’t generate events at all. This stuff doesn’t necessarily come easy to me. Try not to get discouraged. In the future you can fail at entirely new and more complicated things!

👍 Enjoyed @twoodwar’s WordPress workings.

Bookmarked Update on Gutenberg (WordPress News)
Progress on the Gutenberg project, the new content creating experience coming to WordPress, has come a long way. Since the start of the project, there have been 30 releases and 12 of those happened…

WordPress 5.0 could be as soon as August with hundreds of thousands of sites using Gutenberg before release.

Source: Update on Gutenberg — WordPress

Although GlowBlogs will not be getting this until later in the year and after much testing I am still watching and occasionally testing Gutenberg.

From a selfish POV (my class uses iPads) I am still seeing some of the same issue on iPad as I mentioned before: Gutenberg on iPad. A lot better now, but the active text still goes behind the keyboard on occasion. I hope to do a bit more testing over the summer break.

Firstly; I’ve removed most of the post formats leaving the 2 I actually use here. Standard goes to the front page, status to the status. I organise kinds with the post kinds plugin. My Format box now looks like this:

add_action( 'after_setup_theme', 'childtheme_formats', 11 );
function childtheme_formats(){
add_theme_support( 'post-formats', array( 'status') );
}

I added the above to my child themes function.php

Based on Post Formats Formats_in_a_Child_Theme in the WordPress Codex. Standard Format is formatless, so you just add the ones you want in addition.

Secondly; I’ve moved the quote and content generated from the Post Kinds plugin to below the post. This is in the Post Kinds setting so was simple. Having them above my remarks meant that the quote was going to micro.blog and twitter rather than my comment.

I hope to have a bit more time over the summer holidays to rethink and rewire the blog. Some of the decisions I’ve made were perhaps not the best.

Most of the functions that have do with micro.blog and microblogging that live in my child theme’s functions.php in a gist.

I got a request from a teacher who wanted to download a years worth of images from a Glow Blog (for end of year slideshow).

Although there are plugins that can do this these are not available on Glow Blogs. I was stumped apart from going through the site and downloading them 1 by 1. But after a wee bit of thinking I though I’d try using the REST API via AppleScript.

The REST API will list in JSON format the media:

http://johnjohnston.info/blog/wp-json/wp/v2/media/

Look at that in FireFox for a pretty view.

JSON Helper is

an agent (or scriptable background application) which allows you to do useful things with JSON directly from AppleScript.

So I can grab the list of media from a site in JSON format use appleScript to download all the files.

The script I wrote is not great, you can’t download from a particular year, but a quick look at the JSON will help in working out how many files to download.

I am sure there are more efficient ways to do this and I’ve only tested on a couple of site, but it seems to do the trick and might be useful again sometime.

Continue for the script: