aboutsummaryrefslogtreecommitdiffstats
path: root/admin/remote_site.php
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2004-09-27 21:51:07 +0000
committerz0rglub <z0rglub@piwigo.org>2004-09-27 21:51:07 +0000
commite7b24ebdd081c86555b0c07ca18cbf205ab0bacd (patch)
tree5255065bd54f5f9f775ac12f62abdd1d0c77997a /admin/remote_site.php
parent1d4238055a7fbb86bdb901f09eb5de90026ba431 (diff)
add support of exif and iptc for remote site
git-svn-id: http://piwigo.org/svn/trunk@538 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/remote_site.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/admin/remote_site.php b/admin/remote_site.php
index 6358a210d..cd19e1b48 100644
--- a/admin/remote_site.php
+++ b/admin/remote_site.php
@@ -413,7 +413,12 @@ SELECT file
'representative_ext',
'filesize',
'width',
- 'height');
+ 'height',
+ 'date_creation',
+ 'author',
+ 'keywords',
+ 'name',
+ 'comment');
foreach ($optional_atts as $att)
{
if (getAttribute($xml_element, $att) != '')
@@ -428,7 +433,8 @@ SELECT file
if (count($inserts) > 0)
{
$dbfields = array('file','storage_category_id','date_available','tn_ext',
- 'filesize','width','height');
+ 'filesize','width','height','date_creation','author',
+ 'keywords','name','comment');
mass_inserts(IMAGES_TABLE, $dbfields, $inserts);
$counts{'new_elements'}+= count($inserts);