metadata

Get meta information, title and all images of any webpage using php

Hi Friends, I want to get all the meta information like description, title, keyword etc of any web page using php. I am using *get_meta_tags* php function but its displaying warning. I have paste the error below. Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: No such host is kn...

OBJECT_ID of object in another database - how to find database ID or name/fully qualified object name?

Example: USE AnotherDB -- This works - same ID as from other DB SELECT OBJECT_ID('AnotherDB.ASchema.ATable') -- This works SELECT OBJECT_NAME(OBJECT_ID('AnotherDB.ASchema.ATable')) USE ThisDB -- This works - same ID as from other DB SELECT OBJECT_ID('AnotherDB.ASchema.ATable') -- Gives NULL SELECT OBJECT_NAME(OBJECT_ID('AnotherDB.ASche...

read or write ratings from AAC file

I'm trying to figure out how to read the "ratings" from an AAC file on Windows 7. This data is somehow persisted in the file as the Windows 7 shell and WMP can read / write the ratings. In MP3 the ratings data is stored in the PopularimeterFrame of the Id3v2 but AAC does not use Id3v2 tags. Does anyone happen to know how to get at this...

Extracting IPTC/EXIF data from tif files in using Java

The system I'm working on has a feature to extract metadata from JPEG files using the com.drew.metadata package. http://www.drewnoakes.com/code/exif/javadoc/ However that is limited to JPEG files, and now a customer has asked about extracting IPTC from TIF, and possibly other image formats. Does anyone know about similar APIs to Drew No...

Reading tag data for Ogg/Flac files.

I'm working on a C library that reads tag information from music files. I've already got ID3v2 taken care of, but I can't figure out how Ogg files are structured. I opened a .ogg file in a hexeditor and I could find the tag data because that was all human readable. But everything from the beginning of the file to the tag data looked l...

Does IBM OmniFind Yahoo! Edition support faceted search via meta tags?

I can't seem to figure this one out by reading their API documentation. Basically on all of the pages on my site I will have a meta tag that specifies the content type. It will look like this: <meta name="contenttype" content="Press Release" /> Then if someone enters the word "foo" in to the search field and selects Press Releases a...

Does Google Gears Allow Metadata Access

Loving Gears, but does anyone here know how to access Google Gears metadata? Like system tables or tables that will show me a list of the tables within the database? Thanks! ...

Getting buddy class information?

I'm trying to read buddy class metadata information for usage outside of the normal asp.net mvc 2 validation process. I thought it would be as simple as saying: DataAnnotationsModelMetadataProvider metadataProvider = new DataAnnotationsModelMetadataProvider(); var metaData = metadataProvider.GetMetadataForType(() => new T(), typeof (T...

Dynamic forms, Table meta data

I am working with an ASP.Net web app that allows users to create an "application." They define fields and their data types. Based on that, I generate a query to create a table. I would like to use the metadata from the table to generate an input form to display to users. Is this a good approach? Has anybody done a similar proj...

Is it possible to refer to metadata of the target from within the target implementation in MSBuild?

Dear ladies and sirs. My msbuild targets file contains the following section: <ItemGroup> <Targets Include="T1"> <Project>A\B.sln"</Project> <DependsOnTargets>The targets T1 depends on</DependsOnTargets> </Targets> <Targets Include="T2"> <Project>C\D.csproj"</Project> <DependsOnTargets>The targets T2 depends on</D...

How to describe the structure of a well-defined problem domain?

I am looking for a way to describe the structure of a well-defined problem domain in order to use it as a meta-data repository which will be used to produce documentation and code (through code generation.) I don't need to describe behavior (actions that can be performed on the underlying data); only how the domain's objects relate to e...

Attribute.IsDefined doesn't see attributes applied with MetadataType class

If I apply attributes to a partial class via the MetadataType attribute, those attributes are not found via Attribute.IsDefined(). Anyone know why, or what I'm doing wrong? Below is a test project I created for this, but I'm really trying to apply custom attributes to a LINQ to SQL entity class - like this answer in this question. Tha...

Where does windows get the program name for the 'are you sure you want to run this program' dialog for downloaded exes?

On one of my projects, the downloaded installer file gives the internal name for the program name in the 'Do you want to run this software' warning dialog, rather than the external name. Where does windows get this program name from, as there's no sign of it in the standard metadata in the .exe properties? ...

Controlling metadata generation for multiple associations between the same tables in RIA Services

I am using .NET's RIA services/LinqToSql to expose my data to a Silverlight 3 client. In the database, an Item table has more than one association to another table, User. As an example, the Item table has both CreatedByUser and ModifiedByUser fields. When I use the RIA services wizard to create my DomainService (and metadata), I find ...

Find Underlying Column Size Via NHibernate Metadata

Hi, Is there a way to use SessionFactory.GetClassMetadata(), or any other method you're aware of, to dynamically get the maximum size of a varchar column that underlies an NHibernate class' string property? To clarify, I'm not looking to read a length attribute that's specified in the NHibernate mapping file. I want to deduce the actu...

Want to manage SQL Server dynamically in c#

I want to manage SQL Server dynamically, that is through code I wan to scan SQL Server for available databases than I want to create new database, access older database, alter it, and insert data into database depending upon table schema what is better approach what should I use? i heard name of nhibernate, SQL Server Management Object ...

Using Conditional Random Fields for Named Entity Recognition

What is Conditional Random Field? How does exactly Conditional Random Field identify proper names as person, organization, or place in a structured or unstructured text? For example: This product is ordered by StackOverFlow Inc. What does Conditional Random Field do to identify StackOverFlow Inc. a...

How to add PE metadata?

Windows PE (portable executable) files contain metadata that appear in the file's Properties dialog under the Details tab. It appears that arbitrary metadata can appear there. What I'd like to do is add a piece of metadata to a C# class library that I build whose value is the commit id from the git repo HEAD the project was built from...

Tool or T-SQL method to generate/insert code comment sections

I am looking for a way to insert code comment blocks semi-automatically in all the views, stored procedures, and UDFs in a database (basically every code-based module). I'm fine with generating the ALTER statements and reviewing them myself before running the scripts, I was just looking for a reliable way to generate them. I am not loo...

Read audio file metadata with ruby

I need to read metadata (song name, artist, etc.) from various audio files with ruby, mainly MP3 and Apple's AAC. I've googled and found no library that supported both formats. How do you guys read audio metadata with ruby? I would prefer a solution with minimal dependencies possible. Thanks. ...