Ticket #20 (closed enhancement: fixed)

Opened 4 years ago

Last modified 3 years ago

0016756: [Bulkupload] method of uploading external assets using bulkupload tool

Reported by: admin Owned by: MC-arjen
Priority: minor Milestone: MediaMosa 1.7
Component: Core Version: 1.7.2
Keywords: bulkupload Cc:
MoSCoW: Must Have Estimated time after impact analysis:
Related to project: none Tested:
Accepted: no Estimated Hours:

Description

Would like to see a method of uploading external assets (url to the media) when using the bulkupload tool.


 http://mantis.kennisnet.nl/view.php?id=16756
0016756: [Bulkupload] Toevoegen van een manier om ook 'externe assets' te uploaden via de bulkupload

Toevoegen van een manier om externe assets te uploaden via de bulkupload.
Bijvoorbeeld het toestaan van een

<format>

<action>save</action>
<external> http://test.com/streamit.php?fileName=xyz</external> []
<available>yes</available>

</format>

in de .vuf file.

Huidige mogelijkheid is

<format>

<action>save</action>
<mediaFile>meer.wmv</mediaFile>
<available>yes</available>
<downloadable>no</downloadable>

</format>

waarbij <mediaFile> wijst naar een bestand dat zojuist is geupload.

Change History

Changed 4 years ago by admin

  • summary changed from 0016756: [Bulkupload] Toevoegen van een manier om ook 'externe assets' te uploaden via de bulkupload to 0016756: [Bulkupload] method of uploading external assets using bulkupload tool

Changed 4 years ago by Frans

  • keywords bulkupload added
  • priority changed from major to minor
  • component set to Core
  • milestone changed from MediaMosa X.X to MediaMosa 1.7

Changed 3 years ago by forgacs

  • owner set to MC-arjen
  • status changed from new to assigned
  • related_to set to none

Ready. It is on the SVN.
I have fixed a uri/filename bug in the media_management_mediafile.inc file too.

Changed 3 years ago by MC-arjen

  • owner changed from MC-arjen to forgacs

please also fix the documentation.

Changed 3 years ago by forgacs

  • owner changed from forgacs to MC-arjen

Changed 3 years ago by MC-arjen

Code is released in 1.7.2; English documentation yet to be released.

Changed 3 years ago by Frans

  • status changed from assigned to closed
  • version set to 1.7.2
  • resolution set to fixed

The bulkupload now also supports a method of uploading
external assets.

Changed 3 years ago by Frans

Hmm, maybe closed to soon....

It seems that the external URL can't contain question marks (and maybe other chars).
When I strip these I notice that the job won't finish.

warning: file_get_contents(/mnt/naspcd1/vpx-acc/ftp/history/test-017.vuf.log) [function.file-get-contents]: failed to open stream: No such file or directory in /var/opt/www/vpx/htdocs/sites/all/modules/vpx_batch/vpx_batch_callbacks.inc on line 140.

 http://beheer.acceptatie.vpx.kennisnet.nl/vpx/ftp_batch/log/test-017.vuf

Changed 3 years ago by Michiel.Schok

  • moscow set to Must Have

I observe that question marks go without problem, and that an ampersand has to be 'encoded' as &amp; , but that plain normale XML conventions.

<format>
<action>save</action>
<external>http://test.com/bladiebla?parameter=inhoud&amp;nogmeer=hoera</external>
<available>yes</available>
<downloadable>no</downloadable>
</format>

works as advertised.

Note: See TracTickets for help on using tickets.