Menu
  • HOME
  • TAGS

Recommended Syntax for HTML meta title and description?

html,html5,metadata,meta-tags,meta

title (Note that the title element is not a "meta title".) HTML5 defines that the title element should identify documents "even when they are used out of context". So for a typical website, you should always include the site name in the title. For usability reasons, it’s most of the...

Overwrite Blob But Keep Metadata?

azure,metadata,blob,azure-storage-blobs

Here's one possible solution to your problem. Currently when you're creating a SAS URL, since your end user is uploading file using that it has Write permission. What you do is modify your SAS URL to include Read permission as well. On the client application, once you receive the SAS...

How can I make python code cleaner, optimized, and efficient?

python,image,python-3.x,metadata,extract

You could try something like this. I included a mocked dict object, to make it easy to run without the image. You need only remove this and replace it with the real tags object provided by theexifread library, that I believe you are using. # mock dictionary because I dont...

getting content-type=“text/plain” for image?

curl,metadata,content-type,response-headers

This server is not configured with favicon's MIME type but the browser can understand if you get CURL this URL you need to check text/plain also as content type. text/plain is used for just simple texts. not for html. charset=utf-8 A character in UTF8 can be from 1 to 4...

How to create federation metadata XML for “Relying Party Trust” and “Claims Provider Trusts” for ADFS 2.0

metadata,adfs2.0,federation

Actually the URL is https://server/federationmetadata/2007-06/federationmetadata.xml. There are no tools that I an aware of. You can use the Microsoft.IdentityModel.Protocols.WSFederation.Metadata class or refer Generating Federation Metadata Dynamically. Have a look at "Thinktecture.IdentityServer.v2 / src / Libraries / Thinktecture.IdentityServer.Protocols / FederationMetadata" over at Thinktecture.IdentityServer.v2. Or if your application uses WIF it's in...

Spring Security SAML IdP Metadata Certificate and Signature

spring,certificate,metadata,saml,spring-saml

The Spring SAML manual describes metadata trust verification in chapter 7.2.4. One option is to disable the trust check, or manually remove the signature XML from metadata. Just like you found out, the certificate to import to samlKeystore.jks is the one used to produce the metadata signature, not the signing/encryption...

Ember-data weird problems when getting metadata

javascript,ember.js,ember-data,metadata

I found something thanks to this link apparently i should use: Ember.copy(store.metadataFor('user')) to avoid these problems. So i made a computed property in my controller like so: metaData : function() { return Ember.copy(this.store.metadataFor('bookmark')); }.property('[email protected]'), And it work now i can access my meta data in my template like this: Total...

Auto fill text inputs with user meta - email

wordpress,forms,input,metadata

get current get_currentuserinfo function for getting email. check the code. <?php if ( is_user_logged_in() ) { global $current_user; get_currentuserinfo(); $user_email = $current_user->user_email; } else{ $user_email = " " ; } ?> <input type='text' maxlength='100' value="<?php echo $user_email ?>" style='width:250px;' name='Email'> ...

Read Custom Image Tag Metadata using PHP

php,image,metadata

I think the information you are looking for is maybe in XML format as PersonDisplayName if you look at it with jhead -v like this: jhead -v YourImage.jpg JFIF SOI marker: Units: 1 (dots per inch) X-density=96 Y-density=96 Jpeg section marker 0xee size 14 Exif header 15200 bytes long Exif...

How to Get Wordpress Attachment Taxonomy Data

wordpress,metadata,attachment,taxonomy

As per tutorial given in URL above consider register taxonomy name 'location' for media section.Below code will help to fetch data from field location $tax_terms = get_terms('location', array('hide_empty' => false)); foreach($tax_terms as $term) { $termcat = $term->term_id; $term->name; $post = get_posts(array( 'post_type' => 'attachment', 'tax_query' => array( array( 'taxonomy' =>...

Photo framework: save exif data from picker (aperture, focal length, shutter speed, …)

ios,swift,metadata,uiimagepickercontroller,exif

Here's what I ended up doing: typealias CIImageFix = CIImage extension UIImage { /** Gets the metadata from the photo album :param: info The picker dictionary :param: completionHandler A block to call when the metadata is available */ class func requestMetadata(info: [NSObject : AnyObject], completionHandler: ([NSObject : AnyObject]) -> Void)...

Search SharePoint Foundation 2013 Picture Library by terms defined in Keywords field

metadata,sharepoint-2013,search-engine,picturegallery

OK, so I used this kind of workaround in the end: Went to my Picture Libraly's Settings Chose to create a new column (this can also be done in Site Settings > Site Columns, if you want to reuse it for more sites) Called the column Primary Tags Chose Single...

Handsontable - Metadata definition object

merge,save,metadata,state,handsontable

Using a custom renderer you could build this object each time the table gets rendered (which happens quite often). What I would do is create this global object, call it metaData, with the keys you need (columnSizes, mergedCells, etc), and as the renderer goes through, store this data. What I...

How to add an extra metdata to a field of an object?

c#,attributes,metadata

Sure, you can use Attributes just like you wrote in the last block of your code. For that, you need to declare the following classes: [AttributeUsage(AttributeTargets.Field)] public class Input:Attribute { } [AttributeUsage(AttributeTargets.Field)] public class Output:Attribute { } Then, you can retrieve the attribute(s) of the field using reflection: var isInput...

SOLVED: Bash Script that exports Apple Tags (Mavericks Tags) to IPTC “Keywords” metadata (using 'Tag' and 'ExifTool')

bash,tags,metadata,photos,iptc

Ok, so this is how I got it to work for those Mac users wanting details. Save the following script (modified from damienfrancois answer) to a file such as "photos.sh". for file in *.jpg # iterate over each file do taglist="$(tag --no-name --list "$file")" # get a comma-separated list (string)...

Java extract colorSpace and PCS from ICC_Profile to verify the integrety of an image

java,image,colors,metadata,exif

You may want to try this. It support extracting ICC_Profile from TIFF, JPEG, PNG. The following is some information from a specific run: *** Start of ICC_Profile Header *** Profile Size: 3144 CMM Type: Lino Version: 2.10 Profile/Device Class: 'mntr': display devices - CRTs and LCDs Color Space: RGB PCS:...

How to check if Clojure value supports metadata?

clojure,metadata

user> (defn meta-available? [x] (instance? clojure.lang.IMeta x)) #'user/meta-available? user> (meta-available? 1) ;=> false user> (meta-available? "abc") ;=> false user> (meta-available? [1 2 3]) ;=> true user> (meta-available? {:a 1}) ;=> true ...

WKWebView/UIWebView get website icon

ios,uiwebview,metadata,wkwebview,apple-touch-icon

In Firefox for iOS we use a User Script (Link to code on Github) to find the icon that then passes them back to the application which downloads them using native code (Link to code on Github).

R: tm: TextDocument level metadata setting looks to be very inefficient

r,metadata,text-mining,tm,corpus

I've changed my code to set IDs during initialization of the VCorpus. rs <- dbSendQuery(con,"SELECT ('e:'||id) AS id, content, 'pl'::TEXT AS language FROM entry") entry.d = data.table(fetch(rs,n=-1)) entry.dfs = DataframeSource(entry.d) reader <- readTabular(mapping=list(content="content", id="id", language='language')) entry.vc = VCorpus(entry.dfs, readerControl = list(reader = reader)) And now it takes only 2.5 minute...

Using a different image for microdata that isn't displayed in the article?

html,metadata,meta-tags,meta,microdata

You can use JSON-LD instead of microdata. That way you add everything you want in JSON data that is not displayed in the page, but recognized by most search engines. Here is an example taken from http://schema.org/CreativeWork: <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "CreativeWork", "name": "My Article", "image": "http://your.image.url.com" }...

How to setup “application/ld+json” schema.org meta data in rails 4 app

ruby,ruby-on-rails-4,metadata,schema.org,json-ld

There is a JSON-LD gem (http://rubygems.org/gems/json-ld), but it might not be specifically what you're looking for. Note that the point of JSON-LD is that it's just JSON, in this case using the schema.org context to interpret the values. Assuming that your data is in ActiveRecord models, you'll need a way...

Downloading youtube mp3 - metadata encoding issue (python, youtube-dl, ffmpeg)

python,encoding,ffmpeg,metadata

You are missing an s after each template field. Should be --metadata-from-title "%(artist)s - %(title)s". You should also pass --add-metadata to write the metadata to file. So that final command will look like this: youtube-dl --metadata-from-title "%(artist)s - %(title)s" --extract-audio --audio-format mp3 --add-metadata https://www.youtube.com/watch?v=DaU94Ld3fuM ...

How to send title & artist name with audio using icecast client in android

android,metadata,icecast

Solved issue by modifying native code. I have added extra parameter in start method of vorbis recorder & accordingly modified other functions. Added extra parameter for artist in org_xiph_vorbis_encoder_VorbisEncoder.c & org_xiph_vorbis_encoder_VorbisEncoder.h in order to get title & artist work. There is method vorbis_comment_add_tag(&vc,"Artist","your extra parameter"); in org_xiph_vorbis_encoder_VorbisEncoder.c so we just...

Why *_PROCEDURES view doesn't show the PROCEDURE_NAME

oracle,stored-procedures,plsql,metadata,sql-view

From documentation, ALL_PROCEDURES lists all functions and procedures, along with associated properties. For example, ALL_PROCEDURES indicates whether or not a function is pipelined, parallel enabled or an aggregate function. If a function is pipelined or an aggregate function, the associated implementation type (if any) is also identified. It doesn't clarify...

RemoteControlClient not appearing on lock screen

android,metadata,android-mediaplayer,avrcp

I'm using 5.0 Then RemoteControlClient will not work. Does this mean it doesn't work at all? Correct. Quoting the documentation: Lock screens in Android 5.0 do not show transport controls for your MediaSession or RemoteControlClient. Instead, your app can provide media playback control from the lock screen through a...

Can ALAssetLibrary load image file in the Document folder?

ios,metadata,alassetslibrary

The url passed to assetForURL function should be of an asset URL previously retrieved from an ALAsset object. And an ALAsset object represents a photo or a video managed by the Photo application. So you cannot use ALAssetLibrary in this case. To get an image from document directory use the...

jQuery Validator no formatting messages

jquery,jquery-validate,metadata

Something that I didn't think of originally in my original post was that I am using smarty templates. And not all of the Javascript I am wrapping in {literal} tags. So it was translating the {0} in the message array as a smarty variable. So on line 232 of jquery.validate.js...

Does hachoir metadata or libextractor extract covers from ID3v2 and all another formats?

python,metadata,id3v2,hachoir-parser

The problem with hachoir-metadata is that they search only "text" field for every ID3 chunk, but write image in "img_data" field not in "text" field. So, hachoir-metadata can not extract images from metadata because this problem in source code....

Use MetdataId to find the Attribute Name of a deleted attribute

metadata,dynamics-crm

No, the only infomration available is the MetadataId. Quoting from the SDK: This collection is a dictionary of GUID values using a DeletedMetadataFilters as a key. The GUID values represent MetadataId values of the metadata items. Looking at another part of the SDK specifically addresses this question: You will also...

Get metadata of all files in the media in WordPress

php,wordpress,metadata

You can get all the attachments (regardless of whether the are attached to a post or page) with: $attachments = get_posts( array('post_type' => 'attachment) ); Make an array of the mime types you do not want: $exclude = array( 'image/jpeg', ... ); Then you can go through them looking at...

missing metadata on itunes aiff

linux,ffmpeg,metadata,aiff

Use -write_id3v2 1 as an output option: ffmpeg -i in.aiff -c copy -write_id3v2 1 -metadata title="Title" \ -metadata artist="Artist" out.aiff You can add -c copy to stream copy instead of re-encoding if you just want to add metadata. -f aiff is superfluous in your example since ffmpeg can guess the...

Google to find my page in english and another language

search,metadata

You can add several meta-description elements with content in different languages by using the lang attribute. The value of the lang attribute must be a BCP 47 language tag. For English, it is "en" (not "ENG"), and for Italian it is "it" (not "ITA"). <meta name="description" lang="en" content=""> <meta name="description"...

Ruby: Discovering constants and variables in objects

ruby,singleton,metadata

Since you have everything declared on eigenclass, you should lookup eigenclass for newly defined constant and var: ▶ MyObj.singleton_class.constants #⇒ [ # [0] :MY_CONST # ] ▶ MyObj.singleton_class.instance_variables #⇒ [ # [0] :@my_var # ] Hope it helps....

How do I export dicom datasets to excel?

python,python-2.7,metadata,export-to-excel,dicom

Might need some adjustments as I dont have any dcm files to test, but you can get the idea: import xlsxwriter import os import dicom dcm_files = [] for root, dirs, files in os.walk(path): for names in files: if names.endswith(".dcm"): dcm_files.append(os.path.join(root, names)) for dcm_file in dcm_files: ds = dicom.read_file(dcm_file) workbook...

Using Beautiful Soup to get specific tr meta data

python,html,regex,beautifulsoup,metadata

The unexpected order is causing by '\r' character or carriage return. replace it with '' or ' 'and then process your string. str(attr_dict['title']).replace('\r', '') Consider the string: st = "This is SO\rThat" Now if you print the string, print st That is SO This happens because when a \r or...

Using Metadata/Inheritance to factor out code across multiple classes

c++,templates,inheritance,metadata,metaprogramming

What you are looking for is serialization: saving objects to a file (and one day or another, restore the objects). Of course, you could write your own serialization framework, and Marco's answer is an interesting start in that direction. But alternatively, you could consider existing libraries, such as boost::serialization :...

How to read .net assembly's meta data table

metadata,clr

If you want to see metadata you can use ILDasm.exe. Example: ILDasm.exe D: \ MyTestAsm.dll Next: view -> meta info -> we Show! If you want to receive data from the code, you can research 3rd party library Mono: http://www.mono-project.com/docs/tools+libraries/libraries/Mono.Cecil/ MetaData it is part of IL-code. If you want to...

clang set metadata to allocainst

clang,metadata,llvm,llvm-ir

if (D.hasAttr<AnnotateAttr>()) { AnnotateAttr* attr = D.getAttr<AnnotateAttr>(); if(attr->getAnnotation() == "_my_custom_annotation_") { // set metadata... } EmitVarAnnotations(&D, emission.Address); } Looks like you are at the right place. In fact all EmitAutoVarAlloca has special handling for different kinds of variable declarations, but all end with the "address" (i.e., the instruction) in emission.Address....

How can I exclude source file metadata from output when compiling?

gcc,compilation,metadata,executable,binaryfiles

man strip(1) > strip -s a.out ...

Where the materialized views stored in metadata of postgresql

postgresql,metadata,postgresql-9.3

A query like this will give you an overview of the materialized views and their columns: select ns.nspname as schemaname, mv.relname as matviewname, string_agg(atr.attname ||' '||pg_catalog.format_type(atr.atttypid, NULL), ', ') as columns from pg_class mv join pg_namespace ns on mv.relnamespace = ns.oid join pg_attribute atr on atr.attrelid = mv.oid and atr.attnum...

Metadata Excel File: What would the Domain and Range be?

mysql,excel,metadata

In the question you mentioned char(5) and later mentioned it as digits. So what exactly are you trying to save. Anyways you can try below options CHAR(5) for character/digit which is exactly 5 characters VARCHAR(5) for character/digit which is upto 5 characters MEDIUMINT for integers between -8388607 to 8388607 (...

Extending CachedDataAnnotationsModelMetadataProvider to not cache some DataAnnotations

asp.net,asp.net-mvc-4,metadata,modelmetadata

My problem was that client validations were not updated due to initialization of properties in constructor. So I moved property loading into public IEnumerable<ModelClientValidationRule> GetClientValidationRules(ModelMetadata metadata, ControllerContext context) { var userSettings = ServiceLocator.Resolve<UserSettings>(); if (userSettings != null) { // this was the required field to update this.StringLengthAttribute.MinimumLength = userSettings.MinRequiredPasswordLength; }...

Chrome extension extracts wrong metadata without full page reload (discrepancy between original HTML and browser's interpretation)

javascript,html,google-chrome,google-chrome-extension,metadata

YouTube supports Microdata, and stores the latest description of the page in a <meta itemprop="description" content="..."> tag within the body. To make use of this feature, replace your meta[name="description"] selector with meta[itemprop="description"]. YouTube uses pushState-based navigation to update the document's view without really "reloading" the page. That's why there is...

Adding metadata to existing python objects

python,python-3.x,metadata

I don't understand why you refuse to define a MyArray class and delegates everything to array.array. So what do you think of this even simpler solution? id = "your_id" array = array.array('f', [...]) data = {id: array} ...

Metadata file **.DataAccess\bin\Debug\**.DataAccess.exe could not be found

visual-studio,metadata

If you can't build the DataAccess project then there is no .exe in the bin\Debug folder to reference. So you need to fix that one first. And by your comment that one needs a reference to 'Telerik.OpenAccess.SPI.dataobjects.PersistenceCapable' in order to build....

Can REST URLs send back UI rendering hints as metadata?

rest,metadata

Honnestly you are free to send back to the REST client what you want in your payload. However I'm not sure that it's a good idea to always use these UI-oriented metadata. As a matter of fact, you can also have applications that consume data without having UI issues. You...

DataAnnotations with EDMX EF 6.0 does not work

entity-framework,attributes,metadata,data-annotations

I believe a similar question has been answered here. When you try to access a MetadataType property attribute, you have to get to the MetadataType using reflection, and not simply the class that uses the MetadataType. There is an explanation in the link I provided and an example of how...

Extracting PDF metadata in Python 3

python,metadata

By the look of the error mesaage you are trying to read an encrypted PDF file. Until you provide a decryption password you won't get anything out of that file. If you want a Python 3 version of pdfminer then try pdfminer3k, which claims to be a Python 3 port....

how to create wordpress image thumbnail metadata (size / exif / iptc) in c# .net

c#,wordpress,image,metadata,exif

You are looking at a serialized PHP variable. s:10 is a string with a length of 10 (see s:5:"width") i:0 is an integer '0' a:4 is an array with 4 entries Here is a breakdown of what everything is taken from http://php.net/manual/en/function.serialize.php#66147 Anatomy of a serialize()'ed value: String: s:size:value; (String...

SQL show result if meta_key not exists or not is 1

mysql,sql,wordpress,metadata

SELECT DISTINCT p.ID FROM wp_posts p LEFT JOIN wp_postmeta m2 ON m2.post_id = p.ID AND m2.meta_key = 'gtp_conversion_uploaded' WHERE m2.meta_key is null OR m2.meta_value != 1 ...

Get the max length of each column dynamically SQL

sql,sql-server,metadata

Try This: SELECT COLUMN_NAME, CHARACTER_MAXIMUM_LENGTH AS DefinitionMaxLength , N'SELECT @resultOUT = MAX(LEN(' + COLUMN_NAME + ')) FROM ' + COL.TABLE_NAME [query] , ORDINAL_POSITION , 0 [ActualMaxLength] INTO #tmp FROM INFORMATION_SCHEMA.COLUMNS as COL WHERE COL.DATA_TYPE ='varchar' AND COL.TABLE_NAME='TableSRC'; DECLARE @pos int = (SELECT MIN(ORDINAL_POSITION) FROM #tmp), @result int, @query NVARCHAR(MAX) =...

R find time when a file was created

r,file,metadata

Check out file.info() for this and other file properties: ## With a single path p <- R.home() file.info(p)$ctime # [1] "2014-11-20 08:15:53 PST" ## With a vector of multiple paths paths <- dir(R.home(), full.names=TRUE) tail(file.info(paths)$ctime) # [1] "2014-11-20 09:00:45 PST" "2014-11-20 09:00:47 PST" # [3] "2014-11-20 09:00:47 PST" "2014-11-20 09:00:50...

zf2 + doctrine2 and No Metadata Classes to process

php,doctrine2,zend-framework2,metadata

Your entity does not have the @ORM\Entity annotation. In that case whole class is skipped by class-metadata AnnotationDriver. /** * @ORM\Entity * @ORM\Table(name="blog_post") */ class BlogPost { // ... } ...

Why does ^metadata 'symbol not work?

clojure,metadata,read-eval-print-loop

^ is a reader macro which attaches metadata to the form that follows it. However, 'x is not a form to which metadata can be applied; it expands to (quote x) via the ' reader macro. When you type ^{:hi 10} 'x, the metadata gets attached to the un-evaluated (quote...

Visual Basic how to get html,vb.net,parsing,metadata,token

Since you're working with HTML, use a HTML parser, like HTML Agility Pack. Then getting the values you're looking for is as easy as Dim doc = new HtmlAgilityPack.HtmlDocument() doc.LoadHtml(yourHtmlAsString) Dim result = doc.DocumentNode.SelectNodes("//meta[@name='csrf_token']") _ .Select(Function(node) node.Attributes("content").Value) _ .ToList() result is now a List(Of String) containing the values "bVH41vpXbsswSSfNt3Ifw1ZClIKf83Zg" and...

Using headObject to get x-amz-meta from S3 File

javascript,amazon-web-services,amazon-s3,metadata,bucket

You need to expose custom headers like this: <CORSRule> <AllowedOrigin>*</AllowedOrigin> <AllowedMethod>HEAD</AllowedMethod> <AllowedHeader>*</AllowedHeader> <ExposeHeader>x-amz-meta-description</ExposeHeader> </CORSRule> Adding ExposeHeader helped me to solve the problem....

Visual Studio 2013 C# WCF web service _vti_bin/ListData.svc/$metadata

c#,web-services,wcf,visual-studio-2013,metadata

Well at last I solved the problem... but you're not going to like it. Basically the same solution runs well only under IIS 8.0. This means that you have to install Win Server 2012 etc etc... Also, do not forget to set in the properties the "Windows Authenticated" = Enabled....

Writing GPS data in a simple image file WITH NO PREVIOUS GPS data in it

c#,image,gps,metadata,exif

exiftool Download and Information for Exiftool ExifTool is very flexible in the formats allowed for entering GPS coordinates. Any string containing between 1 and 3 floating point numbers is valid. The numbers represent degrees, (and optionally) minutes and seconds. For EXIF GPS coordinates, the reference direction is specified separately with...

Joomla: K2 - How to strip out curly brackets from meta description using preg_replace

php,joomla,metadata,curly-brackets,k2

Use $description = preg_replace( '@\{.+?\}@', '', $description); - you need to use the \ before { and } because these are special characters in regex, so you need to escape them with backslash.

Modifying JPEG Metadata without Recompressing Image in iOS

ios,metadata,jpeg,exif,cgimage

What I was looking for was a read-modify-write operation for image files that allowed changes but otherwise maintained unaltered data. I've determined through research and testing that this is not possible in iOS. The closest mechanism available is CGImage processing, but this only allows you to read selected information from...

What is the name of the new url path prefix for website meta files?

url,path,metadata,rewriting

You probably mean /.well-known/. RFC 5785: Defining Well-Known Uniform Resource Identifiers (URIs): This memo defines a path prefix for "well-known locations", "/.well-known/", in selected Uniform Resource Identifier (URI) schemes. Note that such well-known URIs have to be registered before you may use them. Proposals can be made on the mailing...

Read mp3 metadata from assets folder

android,mp3,metadata,android-assets

Here you go. First get the file path as shown here How to pass a file path which is in assets folder to File(String path)? And then get metadata of audio as shown here How to extract metadata from mp3?...

Select in Data dictionary

metadata,axapta,x++

You can try with scan over SysModelElement and SysModelElementData tables. SysModelElement me; SysModelElementData med; while select firstOnly10 me where me.ElementType == UtilElementType::Table exists join med where med.ModelElement == me.RecId && med.createdBy != '-AOS-' { info(me.Name); } ...

“Metadata Rejected” because ads could not be found on new version?

ios,metadata,iad

If you are just using iAds, then select no when they ask about the ID identifier. You will still get ads through iAd. iAds don't use the Advertising identifier.

Java/Oracle : Find all Dependent Rows and Update Them

java,oracle,metadata

I just wrote a class which does exactly what I want: Try to delete a Record which may have been referenced by other records Find All Children and change their references to a new Id Finally delete the record here's the code I came up with (Sorry it may not...

How to export metadata from Cloudera

hadoop,hive,metadata,apache-pig,hdfs

Cloudera Navigator can be used to manage/export metadata from HDFS and Hive. The Navigator Metadata Server periodically collects the cluster's metadata information and provides a REST API for retrieving metadata information. More details at http://www.cloudera.com/content/cloudera/en/documentation/cloudera-navigator/v2-latest/Cloudera-Navigator-Installation-and-User-Guide/cnui_metadata_arch.html. I'm not familiar with Hive, but you can also extract HDFS metadata by: Fetching the...

Should I resubmit the binary after replying to a metadata rejection?

ios,metadata,itunesconnect,appstore-approval

Ok guys, The answer was leaving it without submitting it again. I have received now a message from the store that they received the reply and will continue the review process of the app. The current status of my app is In Review. Hope this will help others in case...

Metadata Harvesting

python,metadata,oai

I ended up using the Sickle package, which I found to have much better documentation and easier to use: This code gets all the sets, and then retrieves each record from each set. This seems like the best solution given the fact that there are more than 30000 records to...

How to strip image metadata in the browser before upload (javascript)

javascript,ios,image,metadata

I ran into basically the same problem at work. We didn't find a way to remove the metadata. Instead we solved it by using exif.js to read the metadata, and then drew the image onto a canvas while rotating it appropriately. Vaguely something like this: var exif = EXIF.findEXIFinJPEG(binary); switch(exif.Orientation){...

mp3 file gets corrupted after tagging

mp3,metadata,id3,id3v2,id3-tag

Your file is not a MP3 - according to http://mediaarea.net/de/MediaInfo this song is a MPEG-4 / AAC. You can find more infos about this format in http://en.wikipedia.org/wiki/Advanced_Audio_Coding If you rename it to *.aac and then tag your album/track/artist and other metadata info with Mp3tag your song get it correctly and...

How does telegram shows the Icon of some websites?

html,css,metadata,telegram

Just add these tags to your website <meta property="og:title" content="Title" /> <meta property="og:site_name" content="Site name"/> <meta property="og:description" content="Description" /> <meta property="og:image" content="Link to your logo" /> ...

How to extract “Encoded by” from mp3 metadata using Python?

python,metadata,mp3,eyed3

It turns out the "Encoded by" field is buried in a list returned by the frame_set object: audiofile.tag.frame_set['TENC'][0].text

create-metadata-templ in ssoadm/OpenAM fails

metadata,single-sign-on,openam

In your case -y (which is mandatory for the command) is treated as a value for -a key. You should provide a value for -a key or remove the key from the command....

Error while using javaxt

java,android,image,android-studio,metadata

Either your source code or your library uses java.awt.image.RenderedImage, which does not exist on Android. javaxt.io.Image definitely refers to RenderedImage. Note that there is no sign that the authors of this library offer Android compatibility. You may find it easier to solve your problem using a library known to work...

Copy Azure Blob and its metadata

c#,azure,metadata,blob

Looking at the REST API documentation for Copy Blob one thing caught my eye (Under Request Headers section, x-ms-meta-name:value): If no name-value pairs are specified, the operation will copy the source blob metadata to the destination blob. If one or more name-value pairs are specified, the destination blob is created...

How to set custom handler_name metadata for subtitle stream using FFMPEG

video,ffmpeg,metadata,subtitle

Finally figured it out today, and I cannot believe I didn't try this before...Although the tag name is listed as handler_name= in FFMPEG's output, the active tag to use is just handler=, without adding _name. -metadata:s:s:0 handler="English" ffmpeg -i "video.mp4" -sub_charenc UTF-8 -i "video.srt" -c:v copy -c:a copy -c:s mov_text...

How do you use link text as value in schema.org value?

html,metadata,schema.org,microdata

Microdata does not provide a way to denote that an itemprop on an a element should not produce a URL as value. You have to add another element that is one of the elements that produces string values in Microdata (tl;dr: not time and not one of the elements that...

Error while writing Date to Image MetaData in C#-String was not recognized as a valid DateTime

c#,image,date,metadata,gdi

Based on the exception and the example in the documentation, I suspect you need to format this as a US short date. The simplest way of doing this is probably just to use the invariant culture. For example: metadata.DateTaken = date.ToString("d", CultureInfo.InvariantCulture) (Frankly it's a shame that it's a string...

Can NetStream.seek move the playhead of an MP3?

actionscript-3,mp3,metadata,netstream

To make a seek bar, you have to know the length (duration) of your mp3. To get that, you can use the getStreamLength server side function which you can call after been connected like this : var nc:NetConnection = new NetConnection(); const stream:String = 'mp3:mp3_file'; // mp3_file.mp3 // all other...

How to create custom metadata tag for CQ

metadata,cq5

The asseteditors node allows you to change the classic DAM metadata editor, available under the /damadmin. The screenshot attached in the comment presents new touch UI which can be enhanced using Javascript as in this article.

How to display array url values from custom field ( file upload )?

php,arrays,wordpress,metadata,custom-fields

actually I've made it worked with this: <?php $count=0; if (is_array($album_files)) { foreach ($album_files as $files) { $count++; if (1 == $count) { echo '<figure>', '<img ','src="', $files , '" ','>', '</figure>'; } } } ?> Hopefully this can help others as well....

How to set block data value? [closed]

java,metadata,bukkit

So far, the only way to do it is by using: Block.setData(byte data); So, you could do something like this: myBlock.setData(2); // Set block data to 2 Although Block.setData() is deprecated, it still works, and will continue to work (deprecated methods in Bukkit are rarely removed, especially those for which...

Attach unencrypted tag data to encrypted file

c#,xml,encryption,metadata

One challenge here is getting the plain-text XML out of the front of the file while leaving the input stream at exactly the start of the encrypted and compressed data. Since the XML reading libraries in C# were not built with this usage in mind, they may not behave well...

Entity Framework Error: error loading specified metadata resource

c#,database,entity-framework,import,metadata

I have found the working solution for me here

Get gps metadata from image in dropbox using PHP

php,metadata,dropbox-api

As you noted, the PHP library doesn't support the include_media_info parameter, so you'd need to modify the source code of the library to add support. E.g. you could add this method: function getMetadataWithMediaInfo($path) { Path::checkArg("path", $path); return $this->_getMetadata($path, array("include_media_info" => "true")); } ...

Can't get correct Key-Value Pairs with Tika

java,apache,metadata,key-value,tika

Promoting a comment to an answer - you appear to be missing some key Apache Tika jars or their dependencies. If you're using Maven, then your pom should have (as of January 2015) should have something like: <properties> <tika.version>1.7</tika.version> </properties> <dependencies> <dependency> <groupId>org.apache.tika</groupId> <artifactId>tika-core</artifactId> <version>${tika.version}</version> </dependency> <dependency>...

Excel “master column” to reorganize rows

excel,table,excel-formula,metadata,spreadsheet

Well I came up with a solution, however it uses vba not an excel formula, so it may not suit your needs What this function does is look at the column on the left hand side (your master) and read the value out of it. It then looks for the...

Salesforce REST API for Validation Rules

api,validation,rest,salesforce,metadata

You can use the REST version of the Tooling API to get the validation rules. See the official documentation: ValidationRule You can use Workbench to see the ValidationRule sObject via a REST GET. To list all the validation rules the REST SOQL query would be something like: /services/data/v31.0/tooling/query/?q=Select+Id+From+ValidationRule Incidentally, the...

Unity meta & svn files

c#,svn,unity3d,tortoisesvn,metadata

According to the TortoiseSVN documentation You can either launch an external merge tool / conflict editor with TortoiseSVN → Edit Conflicts or you can use any text editor to resolve the conflict manually. You should decide what the code should look like, do the necessary changes and save the file....

Generate a unique metadescription for each product

ruby-on-rails,metadata

Change @product.material.join(" ") to @product.material.try(:join, " "). Also, if it were me, I'd move all of that logic out of the view and into a helper or an instance method on @product. Example instance method: class Product << ActiveRecord::Base def meta_description if about.present? about else "#{name} #{type.try(:join, ' ')} #{location.try(:join,...

How to produce custom metadata html tags from markdown with pandoc

html,metadata,markdown,pandoc

Figured it out, you have to create a custom template that looks for your tags and formats them for the output. Easy way to do this is run this command to get the default html template, create your own template file and copy the output and add your own tags....

difference between index and meta in search and lucene's support

search,indexing,solr,lucene,metadata

No, from Lucene's perspective, they are all just fields with different names (and types in Solr), but just fields.

Standardising dataset attributes across projects

sas,metadata

Create a dictionary table containing your standards: name label format USERID Username $20. ORDERNO Order Number 8. Join to dictionary table containing column names in your library: proc sql; create table standards2 as select d.memname, s.name, s.label, s.format from sashelp.vcolumn d inner join standards s on d.name = s.name where...

Load images in listview only when they are about to display

android,listview,android-activity,scroll,metadata

You have to use lazy loading of images, so images will be downloaded in background. public class DownloadImage extends AsyncTask<ImageView, Void, Bitmap> { ImageView imageView = null; @Override protected Bitmap doInBackground(ImageView... imageViews) { this.imageView = imageViews[0]; return download_Image((String) imageView.getTag()); } @Override protected void onPostExecute(Bitmap result) { imageView.setImageBitmap(result); } private Bitmap...

Robot Framework accessing a keyword from test suite Metadata

python,metadata,robotframework

If you are asking about how to call a keyword in the Metadata setting, the answer is that you can't. What you can do, however, is call a keyword that sets the metadata. Within the Metadata setting, however, you can only define strings. To set the metadata via a keyword...

How should I store trivial data in a database?

php,mysql,database-design,web-applications,metadata

The simplest and most efficient way to do tagging is to create a master list of tags and then use a many-to-many relationship to record which tags are applied to each of your FLIPBOOKS. Consider this ERD: The FLIPNOTE_TAG table is just a simple intersection that contains foreign keys to...