Bug in the Weather Widget display of sunrise/sunset and moonrise/moonset

Filed an Issue Simple Location (GitHub)
Adds Basic Location Support to Wordpress. Contribute to dshanske/simple-location development by creating an account on GitHub.
I’m noticing that the sunrise/sunset and moonrise/moonset details in the Weather Widget are “off”. It currently displays the following:

Sunrise: 10:40 pm
Sunset: 10:47 am
Moonrise: 10:54 am
Moonset: 10:32 pm

Sunrise should be 7:13 AM (roughly for today) though 6:13 AM for tomorrow after Daylight Saving Time changes tonight. Moonrise today should be roughly 5:52 pm and moonset at 6:14 am.

Manually changing the lat/long in the Weather widget doesn’t seem to fix it. I also get the same numbers if there isn’t lat/long in the widget but have them in the user profile in the location section.

I’m using OpenWeatherMap as the provider, and I notice I’m getting two different readings for the sunrise/set & moonrise/set depending on whether I’m using the User Last Seen Widget or the Weather widget, so maybe the issue is hiding in the difference between calculations of one versus the other? The weather widget is the one giving the incorrect readings.
 

Feature request: Recent Kinds Widgets and/or Now page aggregation

Filed an Issue Post Kinds Plugin for WordPress (GitHub)
adds support for responding to and interacting with other sites using the standards developed by the Indieweb Community - dshanske/indieweb-post-kinds

Recent Kinds Widget

It’s a reasonably frequent design/functionality pattern to see widgets from social media services. (Goodreads is an example that provides a widget for recent reads. Twitter does so for notes. There are countless others.) 

In an IndieWeb world, it would be nice to highlight what one has recently read, watched, or listened to (as examples). Towards this functionality, it would be nice if Post Kinds could provide the ability to add widgets for a variety of the post kinds to sidebars or footers.

As a baseline I could envision each widget having:

  • a configurable title (“Recently read”, “Food diary” for eats & drinks, “Microblog” for recent notes, bookmarks, etc.)
  • a chooser for one (or more) of the many various (enabled) kinds
  • a variable N to allow for display of the N most recent of the chosen kinds; 5 or 10 might be a reasonable default; a time-based variable to run across the post within a recent period (days, weeks, months) might be a an interesting alternative as well

For display of a single kind, the widget might default to displaying:

  • a heading made of the post kind icon along with “Recent [Post Kind Name plural]”
  • Response Property Name (wrapped with the original permalink if it exists) by Author name (if it exists)
  • An optional published date for the original content (if it exists) or the date the site owner published the post kind (if it exists) (the original content date would be better for context, I think)
  • A fleuron () or hash (#) which could be wrapped with the permalink of the original Post Kind post.

UI example: 

 

If the chooser in the widget allows for displaying multiple kinds at the same time, then one could have a widget for “Recent Media Consumed” or for displaying a sidebar microblog that could include Notes, bookmarks, reads, etc. (Making it similar to embedding one’s Twitter feed into a sidebar.

For encouraging outside consumption, the widget could also have a small RSS icon with a link to that Kind’s (or Kinds’) feed.

Naturally there could be some configuration for reasonable display defaults for some of the various Post Kinds./

Now archive page

Given some of the potential similarity of the widget work above, it would also be fun to have Post Kinds generate an archive page that shows by kind either the N most recent posts for each kind or all the posts within the last M days, O weeks, or P months.

This could be used to automatically generate the idea of a Now page that gives a quick overview of what a person has been up to over a relatively recent time period. A month of posts would be a good default.

One might also be able to use a solution like How to Add WordPress Widgets in Post and Page Content as a means of embedding the widgets into such a Now-type page, which could give the user the ability to pick and choose which order to place the particular kinds into based on the site owner’s discretion.

Scrolling issue on mobile highlighting using via with Chrome and Brave browsers

Filed an Issue The Hypothesis web-based annotation client (GitHub)
The Hypothesis client is a browser-based tool for making annotations on web pages. It’s a client for the Hypothesis web annotation service. It’s used by the Hypothesis browser extension, and can also be embedded directly into web pages.

Steps to reproduce

  1. On mobile version of Chrome using the via.hypothes.is prefix to activate Hypothesis on any website.
  2. I try to highlight a specific piece of text beyond a single word.

### Expected behaviour
I would expect to be able to slowly and accurately highlight a specific piece of text.

### Actual behaviour
Once I’ve got a small piece of text highlighted and try to expand it with the “handlebars” to go either up or down the page, generally beyond text on the same line, the cursor jumps immediately down to the very bottom of the page and it becomes essentially possible to select a particular block of text.

### Browser/system information
Chrome browser v 86.0.4240.75 on Android 9

### Additional details
I’ve experienced this before on earlier versions of Chrome/Android. I’m not aware of it having ever worked properly before. I don’t experience the same issue on the mobile version of Firefox on the same phone.

@williamgunn has reported a similar bug when using the Brave browser as well at:
https://boffosocko.com/2020/05/24/a-hack-for-using-hypothes-is-to-annotate-on-mobile/#comment-300981

Add Post Kinds fields to WordPress Search

Filed an Issue dshanske/indieweb-post-kinds (GitHub)
adds support for responding to and interacting with other sites using the standards developed by the Indieweb Community
I’ve noticed that the built-in WordPress site search is generally abysmal because so much of the content of my site is handled by Post Kinds and the search doesn’t look through any of the common Post Kinds data fields. 

As an example, trying to search for watches of particular television shows I know I’ve watched don’t show up because I leave those post title-less and don’t specifically tag them.

Is there something in the codex that will allow you to hook these fields into WP’s internal search?

Support for cycling in icon set

Filed an Issue Simple Location by David ShanskeDavid Shanske (GitHub)
Adds Basic Location Support to Wordpress.
I only noticed because I actually went to post something while cycling around the neighborhood, but you seem to be missing a cycling option and a bicycle icon.

The only other edge cases I can immediately think of are scooter, roller skates, tractor, skateboard, gondola, and horse drawn carriage. Though these may be harder to find icons for and exceptionally rare in any case…

Good job on having nearly every other mode of transportation by the way.

Add this Website

Filed an Issue maxboeck/whimsical (GitHub)
A curated list of websites with an extra bit of fun.
URL: https://www.kickscondor.com/
Author’s Twitter Handle: (optional)@kickscondor

The fun feature I like most about this site is… the design aesthetic and the regular highlighting of quirky, fun, and off-the-beaten path content that it features. (It’s also very likely a great source for other whimsical and interesting websites and creators).

IndieWeb Newsletter should include new videos from the IndieWeb Archive.org account

Filed an Issue This Week in IndieWeb (GitHub)
Weekly digest of IndieWebCamp activity. Contribute to indieweb/this-week development by creating an account on GitHub.
I don’t remember if the Newsletter used to pick up videos from the IndieWebCamp YouTube account, but I’m pretty sure we haven’t set up any automation for the IndieWeb Newsletter to find and highlight our Archive.org videos. This feature would be nice to have, particularly on weeks following IndieWebCamps to notify everyone that the videos have been processed and posted.

Here’s a page on Archive.org for creating search queries without output of a variety of formats for raw data or even feeds: https://archive.org/advancedsearch.php#raw

The search should include at least videos posted from the IndieWeb account: https://archive.org/details/@indieweb

It might be worth having it pick up anything with the tags or common keywords like IndieWeb, IndieWebCamp, Webmention, Micropub, etc., but this may also require some moderation or oversight.

Filed an Issue Introducing: Quotebacks by Tom Critchlow (tomcritchlow.com)
A chrome extension to quote the web
Tom, first off, this looks awesome! 

My first question is: is there a list of CSS features for styling the way quotes look on one’s site? Your defaults are pretty solid, but I’m sure folks will want to tinker. Is there a way to contribute different styles to a list of a handful that the extension could make select-able on my site?

Second, I haven’t actually been able to use the functionality at all. It took a few minutes to find the pop up window that I ignored on install to figure out the ctrl-shift-s command. Once that was sorted, I’ve got another browser extension (The Great Suspender) that uses this same key sequence which then triggers that and not Quotebacks. Perhaps having the ability to custom configure the key sequence would be useful as would the ability to click on the browser extension icon as a means of triggering the quote save (a common pattern for extensions).

I’ll also note that even after disabling the other conflicting extension and refreshing, the ctrl-shift-s still doesn’t work, but I’m not sure what the conflict or issue may be. Having a few methods for triggering save would definitely be a benefit.

Finally, in addition to some of the other discussion I’ve seen which may nudge you to support fragmentions, Google just released highlight and scroll across the web from search this past week. Like fragmention, it provides an alternate method for a link to go to a webpage, scroll to and highlight the quoted portion(s). Perhaps a nice additional feature? (I suspect that fragmention may be easier and simpler to support.)

Replied to A thread on Hypothes.is in relation to Audrey Watters' Top Ed-Tech Trends of 2015: Indie Ed-Tech by Audrey Watters, Jeremy Dean, Dan Whaley (Hack Education / Hypothes.is)

it supports students and teachers and schools in managing their own infrastructure, their own labor, their own data.

—Audrey Watters

Ok, so is hypothes.is doing this? How can it?

  • my annotations must be better accessible/organizable --the current "My Annotations" is not enough
  • annotation must be exportable

—jeremydean on Dec 30, 2015


And ultimately, you need to be able to completely run your own annotation infrastructure, but create and access it through a universal client.

—dwhly on Dec 30, 2015


Sure. Less clear to me how that looks/works and what that I do today online is similar in "ownership." But does your "you" refer to students or teachers or schools or all of the above?

The first two (I list) seem key in terms of practical adherence to these principles for everyday users.

—jeremydean on Dec 30, 2015


It's similar in character to the Domain of One's Own initiative. From a long term perspective, you might be better off taking ownership of your own infrastructure, that you can carry with you and guarantee will be available over long time periods (decades to centuries). Hypothes.is should at the very least permit you to do so if you prefer-- regardless of whether we continue to provide an annotation service at scale (which I very much think we should).

Your question around "you" is an important one. I might for instance, set up my own annotation server for my personal notes-- with the confidence that I'll always be able to find a reliable hosting provider for those. Similar to how I have my own web domain, and I host it at one place now, but I can always move it if that location goes out of business-- and my website will be identical to its current form in the new place. In the same way, my current personal email is through an address at my own domain. I don't need to depend on gmail being around forever.

As a teacher, I might use a more common service provider (like Hypothes.is) for class lessons-- one that my students are already likely to have accounts on. As web travelers, we're really accustomed to browsing seamlessly between servers-- it's understood to be the essential architecture of the web. Bringing it to the world of annotations has extraordinary benefits (IMHO) and will serve to foster more adoption and more diversity of applications.

—dwhly on Dec 30, 2015

I’ve been thinking over some of this question for the better part of a decade and even more pointedly since November.

Some of what I’ve been looking at relates back to the renaissance ideas of the commonplace book as well as memory techniques dating back to ancient Greece and even further back. There are ideas like wikis (personal as well as public–Audrey references a great post by Mike Caulfield in her article) and online notebooks tools like Evernote, OneNote, TiddlyWiki, Roam Research, etc. If a student could quickly add all their highlights/annotations into their website, online notebook, Zettelkasten, or other related learning tools, then they could use them for reading, reviewing, or even spaced repetition as provided by platforms like Anki, Mnemosyne, or NeuraCache.

Going back to Jeremy’s original question though:

Ok, so is hypothes.is doing this? How can it?

Hypothesis could immediate do this and quite effectively if it supported the W3C recommended Micropub spec. In short, it’s a standard and open source method for publishing data to a broad spectrum of surfaces so that developers don’t need to build custom solutions for each of thousands of snowflake platforms.

That is, in addition to its current functionality, you could add some code to make Hypothesis a Micropub client!

The quickest and most flexible approach I might suggest would be to allow users to publish their annotations/highlights not only to their accounts, but have UI to trigger a micropub request to their website, online notebook, or other platform.

There’s nothing more I’d want than an easy way to own all the data I’m collecting with Hypothesis and Micropub could quickly add it for a wide variety of set ups and systems. There are already implementations of Micropub servers for a variety of CMS software including WordPress, Drupal, Known, Craft, Jekyll, Kirby, Hugo, Blot, and Micro.blog with others being added, including Grav. Some of us are actively working on adding it to Wiki-related software as well. Since large portions of the Domain of One’s Own movement are built on these handful, you’d have some pretty quick coverage of not only all this space but even more.

I suspect your dev team could build an implementation in just a few days and it would open up a huge advantage for allowing users to more easily own their H related data on their own websites or in other online locations (while still utilizing the Hypothesis platform for more complex functionality).

There’s some solid documentation and a wealth of open source clients you could look at or borrow code from as well as a test suite. I suspect the IndieWeb Dev chat channel would surface a few additional developers to answer questions about any other issues as they crop up.

If you’d like a quick 5-10 minute demo of how this works for a handful of other clients in conjunction with something like WordPress, I’m happy to volunteer the time and spitball some potential ways Hypothesis could dovetail it and leverage its power.

Filed an Issue Make a Comparator (splot.ca)
Create your own! This tool will produce much better results if the images are much larger than the intended size (e.g. 1400 x 800 at least) since it needs to downsize the original to fit the different dimensions.
Alan, I took a swing at trying out the live Comparator SPLOT today. It’s very cool looking! Sadly I kept getting an error in the WP upload interface simply saying “An error occurred in the upload. Please try again later.”

I was uploading a simple .jpg of about the same size and dimensions as those recommended and already in the repository. I tried a few different photo sizes and types with the same result, so I’m not sure what the underlying issue may be. Unless something has changed dramatically, my one guess would be to check the storage limits on the hosting account. I’ve seen that sort of failure before when running out of physical space on a host.

Incidentally, from a security standpoint, I’ll mention that it appears one has the ability within that interface to delete others’ previously uploaded photos. (May want to look at that as a potential future improvement.)

Hope you’re holding up!

Filed an Issue Post Via Email (reading.am)
Post Via Email Send a link in the body of an email to this address and we'll post it to your account. It's handy for posting from your phone or favorite app, so save it in your address book for easy access. But remember, keep it super secret because anyone who has it can post!
@reading It looks like posting via email is having issues? Error shows: “the domain mailman.reading.am couldn’t be found.”

Map archives don’t display map for Google Maps

Filed an Issue Simple Location by David Shanske (GitHub)
Adds Basic Location Support to Wordpress. Contribute to dshanske/simple-location development by creating an account on GitHub.
When adding /map/ to date-based archives and using Google maps as the map provider, the map doesn’t display on the page.

Web client crashing Chrome frequently when adding tags

Filed an Issue Hypothesis (GitHub)
Annotate with anyone, anywhere. https://hypothes.is/ Contribute to hypothesis/h development by creating an account on GitHub.
I’m currently using Chrome Version 79.0.3945.117 (Official Build) (64-bit) via the chrome extension on Windows 10 (v1809) and I’m noticing just within the last two weeks that as I’m typing within the H interface that Chrome suddenly crashes.

All of the crashes have occurred as I’m adding one or more tags to an annotation/highlight. I haven’t experienced a crash while creating annotation text.

The crash is immediate and complete and doesn’t just take out the individual tab, but the entirety of the Chrome processes. While it’s possible that this could be a Chrome issue, I’ve not experienced any crashes with any other websites in ages. I also know that there has been some new code and UI work around the interface and the way that tags are displayed in the public H product.

My initial guess is that something may be happening within the memory/caching as H tries to pull past tags from the server to guess what I’m typing.

I’ve alternated with using Firefox and the bookmarklet and have yet to see an issue with crashes there.

Replied to Sending Webmentions More Intelligently by Jamie Tanna (jvt.me)
You mentioned that you tweaked things a few weeks back and fixed the issue, but I noticed today that your site is hitting http://mention-tech.appspot.com/ pretty regularly and still automatically sending what appear to be hundreds of old webmentions. I’m not sure what you were using to send them on your behalf or what your tweak was, but thought I’d mention it if you had previously used Kevin’s service and either forgot to turn it off/disconnect it or something else odd was going on.
Filed an Issue [Narwhal Microblog] Support (wordpress.org)
Using v2.1 of Narwhal Microblog on WordPress 5.2.4 and PHP v7.2 I get the following error:

Warning: Use of undefined constant posthasteForm - assumed 'posthasteForm' (this will throw an Error in a future version of PHP) in /home/public_html/wp-content/plugins/narwhal-microblog/narwhal-microblog.php on line 265

Knowing that Posthaste was the underlying code, I suspect it’s an issue with php and the version in use. Apparently we’ve gotten to the version where posthasteForm is throwing the expected errors. 🙂

I’m not seeing any specific funcionality issues with the plugin, but it is throwing this error on the pages where Narwhal appears.