Skip to main content
 
 

Replied to a post on github.com :

Support Featured Image (and other common WordPress functionality) · Issue #24 · snarfed/wordpress-micropub https://github.com/snarfed/wordpress-micropub/issues/24

I'm not sure if it's something that would fit in here or quite how -- perhaps a setting toggle?, but for clients that push photos (OwnYourGram.com, https://ownyourcheckin.wirres.net/, Quill, et al), it would be nice on WordPress (especially for many modern themes) to have the (primary) photo from the client post as a "Featured Image" rather than in the main body of the post.

Other potential settings-based functionalities I can imagine being useful (based on experience with Twitter clients) include
* being able to set future posting times
* saving posts as draft, private, pending, etc. rather than automatically publishing
* allowing one to set Post Format (or if using the IndieWeb Post Kinds plugin: Post Kind)
Naturally supporting some of this would also depend on the posting client having support for these options as well.

 

Replied to a post on github.com :

Not receiving webmentions via Instagram on WP.org #671

I notice I'm not receiving likes/comments from Instagram via Bridgy (and apparently never have.)

I'm using OwnYourGram to PESOS Instagram photos into a WordPress (.org) site, which are then marked has having been syndicated using the Syndication Links WP plugin. The Instagram post naturally doesn't have a link to my web site's post, but my sites's post does have rel-syndication and u-syndication like so: `<a title="Instagram" class="u-syndication" href="https://www.instagram.com/p/BFcP4knxC6m/" rel="syndication"> </a>`

Is there some other smaller fine point I'm missing from the Brid.gy about page and support? Has anyone else seen this with WP (.org)?

Cross reference:
https://brid.gy/instagram/chrisaldrich#
https://www.instagram.com/chrisaldrich/
with post https://www.instagram.com/p/BFcP4knxC6m/ "syndicated" from http://boffosocko.com/2016/05/15/55672649/

 

Replied to a post on github.com :

I recently switched from an older generic theme to twenty sixteen and am having problems with featured images. Even though the originals are reasonably large (>1000px typically), they show up instead as if they're thumbnail sized.

Removing the featured image and then attempting to add it back doesn't seem to resolve the problem either -- I still get the small thumbnail-sized photo. Similarly, changing it to a new/different photo seems to work fine and it's featured at the correct size, but then changing it in the interface back to the original photo has it ouput again as a thumbnail?!

I've gone back and re-added photos manually which definitely fixes issue, but would prefer not to have to do this for hundreds of posts. Has anyone else moving to this theme had this issue?

As an example, take a peek at: http://boffosocko.com/2015/05/09/schools-of-thought-in-the-hard-and-soft-sciences/

The output code for the incorrect featured image appears to be:
<code>&lt;div class="post-thumbnail"&gt;</code>
<pre>&lt;img width="120" height="80" src="http://i1.wp.com/boffosocko.com/wp-content/uploads/2015/05/20150509090325.png?fit=120%2C80" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Firmness of Science vs. # of Schools of Thought" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 60vw, (max-width: 1362px) 62vw, 840px"&gt; &lt;/div&gt;</pre>

Why would this happen with old (prior to the theme change) featured photos but not newly uploaded photos?

 

An Annotated Domain of One’s Own

2 min read

Jeremy, Congratulations on having your own domain! I was poking around Hypothes.is today and was excited to see that you'd moved over from Genius.

I'm impressed that you specifically mention the IndieWebCamp philosophy, which I've also been using for the past couple of years myself.  If you need some help in IndieWeb-ifying your WordPress install, I'd be happy to help, though it's now much, much easier to do than it was even a year ago. Shortly, I'm hoping to finish up a post about the IndieWeb and academia/educational related sites, which might also be helpful, though I'm not sure when that's actually going to be finished.

I'd love nothing more than to have Hypothesis be able to have webmention support so that when people annotate my own pages or reference them across the web, the system would automatically send me a notification of that fact. Are there any coders at Hypothes.is who are also part of the IndieWeb movement who might consider doing this? Is there a way to help suggest this into Hypothes.is's roadmap?

Finally, as a side-note, to help beautify your web presence a bit, you might notice that your photo doesn't show up in the author position in your 2016 theme on single posts.  To fix this, you can (create and) use your WordPress.com username/password to create an account on their sister site Gravatar.com. Uploading your preferred photo on Gravatar and linking it to an email will help to automatically populate your photo in both your site and other wordpress sites across the web. To make it work on your site, just go to your user profile in your wordpress install and use the same email address in your user profile as your gravatar account and the system will port your picture across automatically. If necessary, you can use multiple photos and multiple linked email addresses in your gravatar account to vary your photos.

Congratulations again!

 

Posted on 3/24/16:
@Kathryn and Ola, thanks for the tweaks and the child theme! I hope that Ola is dumping the code back to Sarah [https://github.com/sarahmonster/pique] or wherever you keep it internally, so that Woo support is at least partially baked in when it's released to the .org side. I'm sure it may be on the theme's internal roadmap, but don't forget to declare WooCommerce support in functions.php when the final version is rolled out.

I particularly liked the careful thought to keep the theme's buttons consistent as well as the change from 3 columns of products instead of 4. The only tweak I might further suggest is the color of the "add to cart", "proceed to checkout", and "pay" buttons (see http://boffosockobooks.com/product/amerikan-krazy/ which I've not restyled presently to highlight the existence) which all appear as purple [#a46497]. (Though the purple helps to highlight them, I wanted to make sure it was a conscious design choice rather than an oversight.) Either way, throwing the CSS code for the changes on these directly into the bundle makes it much easier for less sophisticated users to tweak the code later.

Other than that, I've looked through most portions fairly carefully and everything seems to be working as I'd expect it to without any glaring issues/errors. My thanks to you, Sarah, and Ola for the beautiful work that went into this as well as the after-the-fact adjustments.

@stephenwrks, A few things in the theme that you might consider taking advantage of and using on your current page are increasing the featured image opacity (25, 50, 75, or 100%) of the photos using the theme customizer/theme options/panels 1-8. This will let you "brighten" up your page without making the foreground text difficult to read and highlight the beauty of your photos.

You might also consider creating a secondary menu called "social" in the menu interface with custom items being links to your social media sites and then in the customizer/menu section setting the footer menu to use this menu. Then your social media bugs will appear in the footer of the page rather than into the second widget where it's at now. This will help streamline and balance out your page a bit (See the Custom Menus section at https://theme.wordpress.com/themes/pique/ and https://en.support.wordpress.com/menus/social-links-menu/ for more details.)

 

Replied to a post on github.com :

Using the bookmarklets opens up a new window with WordPress's (kind of cheesball) few-frills editor. I find myself always clicking through to use the standard editor to edit/change pieces or add additional metadata before posting, and I suspect the majority of those using this do the same thing.

Is there an easy way to bypass the fluffier pop up window and skip directly to the standard dashboard editor--preferably in a new tab? (As a UI caveat: My guess is that doing this may bypass allowing the ability for the page to scrape for photos to add to the post, which is occasionally useful, but...)

 

Replied to a post on github.com :

I'm still mostly relying on native WordPress Post Formats, though I'm leaning toward switching completely to post kinds (or figuring out how to straddle the two.) Though for the IndieWeb noobs, I'll mention what appears to be an odd conflict(?) between the two worlds.

Since the last one or two updates of Post-Kinds, there's a snippet of code somewhere that's adding an additional grey bar between the title and the content on them, specifically in WordPress "Pages", which probably shouldn't be happening as the native theme is more likely than not handling that output. See picture below:

https://cloud.githubusercontent.com/assets/5882943/12693224/89916b08-c6b9-11e5-8d53-67024a5de7f9.PNG

Deactivating Post-Kinds removes the additional bar ( an hr tag?), so it's definitely coming from code within the plugin. It appears to me to be hiding within:
div class="e-content"
div class="h-cite response "
/div
div class="entry-meta"

The line doesn't appear to show up on blog posts marked as "article", "notes" or "photos", but does show up (with the appropriate icon) for posts marked as bookmark, favorite, like, listen, play, read, etc. (which is what I and others would presumably expect) Ex: http://boffosocko.com/2015/11/20/the-information-theory-of-life-quanta-magazine/

As most wouldn't expect it to show up on Pages, you might consider removing it from them in the next iteration.

In case it's necessary for troubleshooting purposes, I'm using Version 2.3.1 and in the settings I've not checked "Disable Post Formats".

 

LA Times Real Estate features one-time home of @JohnsHopkins alum ('39) & noted screenwriter Millard Kaufman

In the <a href="http://www.latimes.com/business/realestate/hot-property/la-fi-home-20151213-story.html" target="_blank">Sunday section of the Los Angeles Times, this week's "Home of the Week"</a> is that of noted screenwriter and Johns Hopkins alum Millard Kaufman (class of 1939).  <a href="http://www.nytimes.com/2009/03/19/movies/19kaufman.html" target="_blank">Kaufman passed away in 2009</a> just two years after publishing his<a href="http://amzn.to/1mfobJP" target="_blank"> debut novel</a>.

Kaufman is often best known as the co-creator of the cartoon character Mr. Magoo as well as for his Academy Award nominated screenplays for <em>Take the High Ground</em> (1953) and <em>Bad Day at Black Rock</em> (1955). He's also known for having <a href="http://boffosocko.com/2015/11/11/in-memoriam-millard-kaufman-wwii-veteran-and-front-for-dalton-trumbo/" target="_blank">fronted the screenplay for Gun Crazy on behalf of blacklisted writer Dalton Trumbo</a> who was the subject of the recent film Trumbo.

<img class="wp-image-237 size-full" src="http://media.johnshopkinsuniversity.biz/wp-content/uploads/2015/12/la-fi-home-of-the-week-hollywood-hills-20151213-banner.jpg" alt="Millard Kaufman Residence" width="750" height="422" />
The Modernist home at 3574 Multiview Drive, Los Angeles, is listed at $2.495 million. (BelAirPhotography.com)

Click through to the <a href="http://www.latimes.com/business/realestate/hot-property/la-fi-home-20151213-story.html" target="_blank">article</a> which features a gallery of 21 fantastic photos of the interior of the Millard Kaufman residence.
<blockquote>
<h3>Three noted architects shaped a Midcentury Modern in Hollywood Hills</h3>
This Midcentury Modern house in Hollywood Hills is named the Millard Kaufman residence for its one-time owner, who was a screenwriter, an author and the co-creator of the cartoon character Mr. Magoo. A trio of notable architects left their marks on the two-story post-and-beam house, which features exposed wood ceilings, walls of glass and original paneling.
<strong>Location:</strong> 3574 Multiview Drive, Los Angeles 90068
<strong>Asking price:</strong> $2.495 million</blockquote>
-- Source: <a href="http://www.latimes.com/business/realestate/hot-property/la-fi-home-20151213-story.html" target="_blank">Lauren Beale writing for the Los Angeles Times</a>

The home has also been featured before in Curbed [<a href="http://la.curbed.com/tags/millard-kaufman" target="_blank">here </a>and <a href="http://curbed.com/archives/2014/10/30/millard-kaufman-residence-neutra-addition-for-sale.php" target="_blank">here</a>] when it was previously for sale. There's also a video walk through on YouTube (see below.)

https://www.youtube.com/watch?v=cTYtYr5NfMw

 

Perhaps irradiated Toxoplasmosis with a genetic defect that induces other short term psychological issues instead of the often heard long term ones? The phenotypic implications are particularly intriguing. What would Jaroslav Flegr say? Cross reference http://www.theatlantic.com/magazine/archive/2012/03/how-your-cat-is-making-you-crazy/308873/. I'll also note the eerie presence of not only a cat in the story, but that of a cat lurking through one of the photos. It also fits in with some of the contagion rates, and particularly with those within the same family.

Otherwise, this could be the basis for a great zombie origination story!

 

Updating @WithKnown Past 0.7.7 and Keeping Social Media Integration

3 min read

Last night I upgraded my WithKnown installation from 0.7.5 to 0.7.7.1 and was shocked to see all of the social media integration of my instance had completely disappeared!  

Suddenly POSSE wasn't POSS-I-ble!

Starting with 0.7.7, Known had taken out the old social media plugins and replaced them with Convoy. While I'm sure Convoy is awesome and makes social media integration for POSSE dead simple, something in my gut told me that it just wasn't for me.  I also didn't want to throw away the hour or so I spent configuring all of the plugins in the first place only to end up paying $50 a year for the same thing I'd already had. Those who haven't dealt with it already, will probably find Convoy a great value, though it'd probably be better billed as a one-time fee rather than a recurring one.

I'll admit that I panicked for a while and contemplated restoring the original 0.7.5 server code from back-up.

Fortunately a cooler head prevailed and some research and internet searching began.  I didn't find much immediately - the drawback of living so close to the bleeding edge of technology when still learning how all of it works.

I tried to see if I could uninstall the Convoy plugin by going into the site configurations and changing the plugin to disable it. Sadly, of the dozen or so plugins, Convoy is the only one that didn't ship with an "enable"/"disable" button. I'm sure they'll fix this shortly, but for those who want to do it manually, simply add the following line of code to your config.ini file:

     antiplugins[] = 'Convoy'

Screen capture of Plugins Settings Page

Eventually, I spent some time digging into the code and comparing/contrasting all the files.  Noticing that 0.7.6 had six or so additional folders for each of the social media plugins hiding within the IdnoPlugins folder (Facebook, Twitter, Flickr, SoundCloud, etc.), I simply dragged and dropped all of those over into 0.7.7.1 and voila! We're back up and running.

As a fine point, one should notice that both the FourSquare and Twitter plugins have been updated since 0.7.6, so they should be copied and dragged over from the main GitHub repository.  Following a similar procedure will also need to be watched/followed for future updates on occasion as well.

For future UX, I'm hoping that Known will at least as a minimum install and make Convoy available directly, but that disabling it will make the other original plugins viewable and configurable for the more technically minded, particularly as POSSE is one of the cornerstones of the IndieWeb movement.

As a quick recap for those doing general Known upgrades, try the following:

  1. Back up your database and your code, just in case;
  2. Download the new repository (either GitHub or on WithKnown);
  3. Delete the "dummy" Uploads folder from the new install and keep your original on the server which has all of your photos, etc.;
  4. Keep your config.ini; 
  5. Keep your .htaccess (unless it needs a serious change; the htaccess.dist replacement file can be easily copied over, but will need to have its name changed from the version with the .dist extension);
  6. Keep the social media plugin folders in IdnoPlugins that you intend to continue using; or upload newer versions which are availble from https://github.com/idno ​;
  7. Upload all the new files to the server directory.

Those with an adventurous spirit may also find some of the other available plugins fun to play around with too.

 

A Comment on the Academica Wordpress Theme

2 min read

In reply to: https://wordpress.org/support/topic/surprised-by-all-the-bad-reviews

I agree wholeheartedly with Adam, though I don't think I'd really seen any small issues except perhaps for an odd CSS issue in formatting an h2 tag somewhere. (Note: This comment applies to v1.2.3 of Academica as on 4/2/15, the theme publisher made a DRASTIC change to the theme, so take caution in upgrading!!)

I have created a child-theme with one or two small customizations (slightly larger headings in side widgets and some color/text size changes), but otherwise have v1.2.3 working as perfectly as it was intended to. This includes the slideshow functionality on the homepage. See BoffoSocko as an example.

For those, perhaps including Adam, wanting to get the slider to work properly:

  • Go to your WP Dashboard hover on the menu tab "appearance" and click on "customize"
  • On the "Featured Content" tab, enter a tag you want to use to feature content on the homepage of your site. (In my case, I chose "featured" and also clicked "Hide tag from displaying in post meta and tag clouds".)
  • Go to one or more posts (I think it works on up to 10 featurable posts) and tag them with the word you just used in the featured content setting (in my case "featured"
  • Next be sure to actually set a "Featured photo" for the post--930x300 pixels is the optimal photo size if I recall.
  • Now when you visit your home page, the slider should work properly and include arrows to scroll through them (these aren't as obvious on featured photos with white backgrounds).
  • Note that on individual pages, you'll still have static header image(s) which are also customizable in the "customize" section of the WP dashboard, which was mentioned in step 1.

I hope this helps.

 

Upgrading @WithKnown on One's Own Server

3 min read

It's only been a short time since I installed my own copy of WithKnown (GitHub) and there have been a few small upgrades since that time, but I was overdue for upgrading. I'd also seen one or two errors when posting, and figured that the small bugs I was seeing would have been worked out.

When I went to upgrade earlier in the week, I figured I'd wing it since at the time there weren't any instructions for upgrading in the documentation (or at least that I'd noticed at the time.)  Somehow I got sidetracked and finally just came back to it today.  Following the general procedure for upgrading projects like Drupal and WordPress, I trundled along and found generally reasonable results until I realized that URLs weren't mapping quite properly, photos were missing, and something was a bit "off". (I had tried reinstalling my original config.ini file along with the Uploads file, but that didn't seem to work somehow.)

I went back to check the documentation, and lo-and-behold, in the intervening week,  there are now some scant upgrade instructions available which follow below: 

Upgrading Known is designed to be very simple.

  • Take a backup of your Known directory and database.
  • Overwrite your Known files except your upload directory.
  • Access your Known site homepage.

I was reticent upon visiting my homepage as I received a splash screen exactly like the original set up, and was very worried that I might manage to blow out some of the primary data and crash the whole thing. (I did remember to do a back up before starting, but who wants to deal with that if they don't have to.)

I decided to plunge ahead and proceeded like I was setting things up for the first time. I was directed to a page to enter in the database name, login, password, etc., which creates a config.ini file in the root, and was then redirected to my site, with all the links and data perfectly intact and functioning properly. 

For those who haven't done it themselves, and have the same reticence I did, I'd recommend adding a few additional steps to the process:

4. Click on the set up button

5. Enter in your database name, user name, host name and password

6. Update the path for the "Uploads" folder. (It may automatically default to the proper path name, but double check it.)

7. Hit enter and you'll be taken to your site.

Depending on what one is using for the update, I might also recommend blowing out (deleting) the original Known files in your root directory in step 2, and installing the new ones rather than simple overwriting so one isn't left with out of date files.

 

This sounds a tad like the debate in early Greek philosophy between the relativists (pre-Socratics) and the Platonists.

I'm curious what your calculation would look like to prove that they either contain the same information or that Mount Fuji contains more?

One of the subtleties of Shannon's original paper on information theory is in the second paragraph where he explicitly states that he's leaving out the semantic processing of the message by the receiver and just concentrating on the sending and receipt of the signal. (Put another way we can play the game telephone and you can hear and repeat the exact words I say, but concepts like <i>double entendre</i> and nuance may prevent you from understanding exactly what I meant to say. Shannon is leaving the second problem understanding out of the picture and solely working on the question of did you hear the words I actually said.) The way you're framing your question, it would appear that you're only focusing on the interpretation of the information after it's been received, in which case Shannon's information doesn't really have anything to say.

Now, to take a look at it from a purely mathematical standpoint within a Shannon framework, once could count the totality of the number of atoms and their states in Fuji and compare it to that of Rushmore and the one with more information is simply going to be the larger one.

If we're looking at photos of the two, then the one with more information is going to be the one that doesn't compress down as much under whatever compression algorithm we might choose. (ie, it won't have anything to do with the "information" contained in the faces and whose faces they are, which again is a semantic issue and not a mathematical one.)