#wordpress 2019-02-28

2019-02-28 UTC
[schmarty], [jgmac1106], [tantek], jackjami_, jackjamieson, [eddie], [Rose], [kevinmarks], [frank], [Vincent], jeremych_, [grantcodes], [Kristof_Bernaer, Toby and [davidmead] joined the channel
#
[frank]
I am on the verge of switching to WordPress with my blog. I have a full set of webmentions in an exported JSON file from my current Jekyll site. Is there anything I can do to import these in my new WordPress installation? If so, where to start and how to do this?
tbbrown and [Rose] joined the channel
#
[Rose]
Good question, I'd like to know too!
#
sknebel
if the sites are still online and you can live with changed timestamps, you could just send matching webmentions to your WP install
#
[frank]
Well... I wouldn't know how to start with that. And what if I want to keep the timestamps?
[pfefferle] joined the channel
#
[frank]
Yeah... that's what I was afraid of... build it yourself... Hmmm.. as a non-programmer by day and wannabe-Stack-Overflow-Copy-Paster by night, it's not something I would like to try
#
[pfefferle]
oh ok… hmmm
#
[pfefferle]
does your file follow any standard format?
#
[frank]
You mean the JSON file with webmentions? It's the export from http://webmention.herokuapp.com/
#
Loqi
A WebMention Endpoint
#
[frank]
Reading through the article you sent, it doesn't seem that hard. Most important thing is to figure out how to couple a specific webmention to an imported WordPress article (originally from Jekyll). Most permalinks are intact with the upcoming switch
eddiehinkle, [eddie], [tantek], [Vincent] and [jgmac1106] joined the channel
#
[pfefferle]
that is the most important thing… you need an identifier that still works, like the permalink
#
[frank]
I checked my top 30 visited posts from the last 12 months and made sure these are the same on the new installation.
#
[frank]
That should cover the biggest portion of webmentions as well I think.
#
[pfefferle]
then url_to_postid( string $url )
gRegorLove_ joined the channel
#
[frank]
Create a similar JSON file with webmentions and find/replace the permalinks to localhost URLs?
#
[frank]
I'm glad I have some logical thinking left 😉
#
[frank]
I will keep you posted on how this goes. It might take a few days since I have very few chunks of dedicated time for this.
#
[pfefferle]
I know this kind of problem 😉
[grantcodes], Adam1, [eddie], [manton], [schmarty], [Vincent], eddiehinkle, [cleverdevil], j12t, chrisaldrich, [kevinmarks], [tantek] and [frank] joined the channel
#
[frank]
Well...my site is now live from WordPress instead of Jekyll. Build on a Genesis childtheme I am familiar with. Just to get started and have at least an active presence again to write dumb stuff on the internet. This blog will iterate over time. As always. https://diggingthedigital.com/ (Dutch only)
#
chrisaldrich
frank++ for the jump to WordPress
#
Loqi
frank has 1 karma in this channel over the last year (7 in all channels)
#
chrisaldrich
What are WordPress Examples?
#
boffosocko.com
edited /WordPress/Examples (+169) "{{frank}} moved from Jekyll to WordPress"
(view diff)
#
chrisaldrich
frank, for resending (manual) webmentions, you could use http://mention-tech.appspot.com/ or http://sendawebmention.com/, but that may be painful depending on how many you have...
#
chrisaldrich
wonders if aaronpk has thought of building in a re-mentioner for something like webmention.io when people move their site from a service that doesn't have webmention to one that does (like Drupal, WordPress, etc.)
#
aaronpk
Not sure how that relates to webmention.io. Maybe telegraph?