Japan-Digital-Archives / Japan-Digital-Archive

Digital Archive of Japan's 2011 Disasters
6 stars 18 forks source link

New Asahi url structure causes failed URI redirects #1098

Open horak opened 8 years ago

horak commented 8 years ago

Items that have been uploaded from Asahi used to look like this: http://ajw.asahi.com/article/0311disaster/life_and_death/AJ201602180045 and now look like this: http://www.asahi.com/ajw/articles/AJ201607060041.html

Unfortunately, our database has references to this old url structure and Asahi doesn't redirect properly.

Fixing this will require iterating through all our db items from Asahi and changing the URL structure. Though it would be nice and professional if Asahi handled that itself. @meeshmon.

horak commented 8 years ago

Previous Asahi articles had a long "text" field entry which contained the whole article text. They also contained a short "description" field. The new structure doesn't have as much metadata. I would use the "photo caption" field in its stead but it seems only loosely correlated. What are your thoughts @meeshmon? Should I keep the "description" field blank?

meeshmon commented 8 years ago

@horak thank you for the note. I think what we should now is to think about how to deal with this issue with the new system ADK is working on, so my take on this is to pass this task to ADK and not worry for the current system. I told ADK to contact you regarding how to set up the RSS feed with Asahi. If you can direct them on how to do this, that would be wonderful. Also they need to know about the legacy items that we have acquired from asahi via the old method which gives us different data structure.

horak commented 8 years ago

Cool, @Japan-Digital-Archives/teamadk, just tagging you here for reference. We've been in contact about the upload process but feel free to drop in any more questions regarding the matter here.