metadata

How can I reuse Model Metadata for custom View Models?

Hi, I'm working on an ASP.NET MVC 2 project with some business entities that have metadata dataannotations attributes applied to them (Validation attributes, Display attributes, etc.). Something like: //User entity public class User { [DisplayName("Vorname")] [Required(ErrorMessage = "Vorname fehlt")] ...

Subclassing the Django ImageFileField

I'm interested in subclassing django's ImageFileField to allow access to the image IPTC metadata, something like: >>> from myapp.models import SomeModel >>> obj = SomeModel.objects.all()[0] # or what have you >>> obj.image.iptc['keywords'] ('keyword','anotherkeyword','etc') ... the docs say to read over django's internal code, which I...

Extract metadata from old Word files (from 2.0 onwards)

Hi. I have to extract metadata from a lot (my small working sample has hundreds, the total will probably be thousands) of Microsoft Office files, mostly Word ones. These files Word versions go from Word 2.0 to Word 2007. I have to do it in .net 3.5 (using c#) and it's a local winforms application. I can extract metadata from the most...

Getting JSON data of JSTree, and it's metadata

Hi all, We're using jstree for a navigation menu editor, and have been assigning metadata to the nodes of the tree like this: var data = currentNode.data("jstree"); data.title = textBoxTitle.val(); data.linkType = textBoxLink.val(); I can see that the data object contains the relevant properties, but not too sure where jquery keeps t...

Audio/video file formats that support embedded markers and comments/annotations?

I am looking at creating an app for OS X and/or iOS that allows the user to arbitrarily embed markers into the audio at various intervals during the audio recording process. It would be nice to have a single file that could contain this information, but may or may not be efficient or feasible. I suppose it is similar to what YouTube an...

complete xmp/iptc manipulation command line tool or python wrapper? (osx)

hi guys, im searching for a complete command line tool or even better a python wrapper to manipulate and retrieve image metadata. i tried pyexiv2 which is very nice but i cant register a new namespace like 'XMP.imageapp.uuid' (maybe im missing something and i would be glad to hear a solution for that.) with the command line tool exiv2...

How to peek for icecast [relays'] metadata without real "data" connection?

I have an icecast2 relay and want to collect some stats about tracks being transfered. I'm now peeping into relayed streams themselves with twisted shoutcast procol client, but that's prone to errors, mangles server stats and imposes unnecessary load on server. ...

Problem in writing metadata to image

Hi i am using AvFoundation to take still image and adding gps info to metadata and saving to photos album using Asset library but gps ingo is not saving at all. here is my code... [self.stillImageTaker captureStillImageAsynchronouslyFromConnection:videoConnection completionHandler:^(CMSampleBufferRef imageDataSampl...

How does XML+XSLT affect SEO?

I have a site that is built completely in XML and is transformed by a single XSL file. How does this affect SEO? Is it possible to store page-specific metadata? Will robots see the transformed page (the result of the XSL stylesheet) or the plain XML? ...

Custom loop not comparing metavalues properly

Hi so I have a custom loop that is supposed to show upcoming events only it's not taking into account the year so it's displaying future events as being in the past due to just the month and date. <ul class="upcoming"> <?php // Get today's date in the right format $todaysDate = date('m/d/y H:i:s'); ?> <?php query_posts('showposts=2&cat...