Gizra / euei-euwi-migrate

Migrate from euei.net and euwi.net to C4D
0 stars 0 forks source link

Export image from body #193

Open solker opened 9 years ago

solker commented 9 years ago

We just need to copy the images to the right place, and change the path

solker commented 9 years ago

I made research and found very small amount of images inside a body.

Documents
array(12) {
  [0]=>
  string(56) "http://www.sciencedirect.com/scidirimg/entities/223c.gif"
  [1]=>
  string(65) "http://climate-l.org/files/2010/02/Second-Generation-Biofuels.jpg"
  [2]=>
  string(64) "http://climate-l.org/files/2010/02/Trade-Environment-Review1.jpg"
  [3]=>
  string(67) "file:///C:/DOCUME%7E1/girbaza/LOCALS%7E1/Temp/moz-screenshot-12.png"
  [4]=>
  string(63) "http://sefi.unep.org/fileadmin/media/sefi/icons/icon_detail.gif"
  [5]=>
  string(63) "http://sefi.unep.org/fileadmin/media/sefi/icons/icon_detail.gif"
  [6]=>
  string(63) "http://sefi.unep.org/fileadmin/media/sefi/icons/icon_detail.gif"
  [7]=>
  string(63) "http://sefi.unep.org/fileadmin/media/sefi/icons/icon_detail.gif"
  [8]=>
  string(63) "http://sefi.unep.org/fileadmin/media/sefi/icons/icon_detail.gif"
  [9]=>
  string(67) "http://sefi.unep.org/uploads/RTEmagicC_logo_Bloomber_NEF_03.jpg.jpg"
  [10]=>
  string(40) "/sites/euei.net/files/u5/helpmodif_2.jpg"
  [11]=>
  string(70) "http://www.euei.net/sites/euei.net/files/u17/ECREEE-JRC_MoU_sign_0.jpg"
}

News
array(4) {
  [0]=>
  string(64) "http://www.riaed.net/local/cache-vignettes/L8xH11/puce-68c92.gif"
  [1]=>
  string(64) "http://www.riaed.net/local/cache-vignettes/L8xH11/puce-68c92.gif"
  [2]=>
  string(64) "http://www.riaed.net/local/cache-vignettes/L8xH11/puce-68c92.gif"
  [3]=>
  string(64) "http://www.riaed.net/local/cache-vignettes/L8xH11/puce-68c92.gif"
}

Events
array(3) {
  [0]=>
  string(69) "http://www.aeep-conference.org/images/stories/gfse_logo_4c_300dpi.jpg"
  [1]=>
  string(111) "http://www.africa-eu-partnership.org/sites/default/files/news/images/news_all-africa_energy_week.jpg?1288343616"
  [2]=>
  string(79) "file:///C:/DOCUME~1/AMBER~1.WIL/LOCALS~1/Temp/msohtmlclip1/01/clip_image002.gif"
}

Really, it's number - 2 ! because we don't need images from another resources and images with bad uri. As final we have only two images to migrate:

  [10]=> string(40) "/sites/euei.net/files/u5/helpmodif_2.jpg"
  [11]=> string(70) "http://www.euei.net/sites/euei.net/files/u17/ECREEE-JRC_MoU_sign_0.jpg"

Cheaper to make it by hands at the end of the migration.

PS. Need remade research with new dumps.

Katya-cap4dev commented 9 years ago

@solker is this the same issue as https://github.com/Gizra/euei-euwi-migrate/issues/152#issuecomment-74627957?

solker commented 9 years ago

@Katya-cap4dev It's different types of images I have answer you in #152.

Katya-cap4dev commented 9 years ago

@solker OK, if it only affects a limited number of nodes please send me the list and I'll do in manually (or whoever replaces me in March will do it).