RSS: Should stand for Real Simple, Sorta

Submitted by Barrett on Sun, 07/26/2015 - 13:48

For ages I've thought that I should get this site included on the Drupal Planet feed, and with the new build in D8 and a currently renewed momentum to actually write here, this seemed like a good time to actually do it.  Should be simple, right? Tag my content, allow commenting, submit the RSS feed url for inclusion, profit.  Not so much.

Tags

Finding all the redirects for a content type

Submitted by Barrett on Sat, 07/25/2015 - 16:55

We're in the middle of a drupal to drupal migration of one of our content types (blogs) and a stakeholder pointed out that they have a large set of redirects for the contet types that will need to be migrated, which raises the question of how to find all the redirects.  The easy thing to do is to list the redirects where the source is the node id of blogs published blogs.

select nid, dn.title, r.* from drupal_node as dn join drupal_path_redirect as r on dn.nid=substring(source, 6) where status=1 and dn.type='blog_post'

Tags

Adventures in D8'ing

Submitted by Barrett on Sat, 07/25/2015 - 14:07

It's time to make the jump to D8.  Let's face it, my site is mostly a haphazardly maintained blog site; it could really be done in GitHub Pages without real loss of functionality. There's realy nothing beyond core that I need, so might as well make the jump now.

First thing I notice: is pathauto still not in core? REALLY? When was the last time you saw a site using node/xxx paths?

Tags