Metadata on urlRessource with xml ?

Hello,
I'd like to know if it's possible to add Metadata to an URLRessource but with a flashvars or configuration.xml instead of AS3 (I'm using SMP) ?
Best regards

The Strobe Media Playback documentation contains some good info on how to set Plugin resource metadata using flashvars but not content resource metadata. Here's how I do it:
var parameters =
{ id: "1"
  , src: "http://example.com/resource.php"
  , src_namespace: "http://www.example.com/exampleplugin/1.0"
  , src_metadataKey: "metadataValue"
  , streamType: "liveOrRecorded"
  , plugin_ExamplePlugin: "http://example.com/ExamplePlugin.swf"
  , autoPlay: "true"
  , width: "640"
  , height: "480"
  , controlBarAutoHide: "false"
  , controlBarPosition: "bottom"
  , poster: "images/poster.png"
Where:
- src_namespace : the namespace you want SMP to use when it attaches the
metadata to the resource. Obviously, the plugin dictates this.
- src_metadataKey : the "metadataKey" is the actual key you want SMP to use
when it attaches the resource metadata.
For example this might be "src_authKey", the "src_" tells SMP that this is a
resource metadata key, it will use key of "authKey" to set the metadata.
- "metadataValue" : is the actual value of the key/value pair
representing resource metadata.
Thanks,
- charles

Similar Messages

  • Retrieve "Description" metadata from image with XML

    I'm trying to create an automated workflow for some of my newspaper pages. I've learned how to use XML to import text into different tags on the page, and images into tagged image boxes on the page. My question now is how to generate "Description" info that is located within the images metadata under "File Info." You see, our photographer saves his images as a jpg and adds the caption info under "description" before saving in Photoshop. I want to have this "description" meta data to import in one shot along with my headlines, text and images. Right now I have to manually "Generate a caption" or create a Live Caption." It seems to me like there must be a way to generate the "description" info into and existing text box underneath a photo.
    See screen shot below for an example of where I am trying to generate the caption. I want to generate the text "An Overall of Village Greens Golf Club" when I import my XML file. I don't like using the "Live Caption" optin because if the text box isn't touching the image box, the info disappears. Is there an alternate way?
    Thanks a lot!
    -Steve

    I am sorry, you will need to use the caption functionality. And yes, the caption's text frame has to touch the image or has to be in a group with the image, at least for live caption. But what is the problem here? If you need a distance of the text to the image set up an object style which has set up a text offset at the top and will bring the text in the wanted distance to the image.
    That was answer to your question.
    Another thing I see in your screen shoot is a very complicated layout. You could simplify a lot when you
    use the span column function for the Headlines
    use only one text frame
    use an anchored frame, settings saved in object style for the photo on the left top
    use only automatic hyphenation and use the user dictionary
    avoid multiple spaces in any circumstance and use fix sized spaces in their place.
    work with layers.

  • How to populate BusinessObjects metadata repository with .xml data?

    Can we populate BusinessObjects metadata Repository with .xml data? If yes can you please share some document or link on how to do that?

    Can we populate BusinessObjects metadata Repository with .xml data? If yes can you please share some document or link on how to do that?

  • Populating dynamic values in the combobox with XML form Builder.

    I am trying to  populate dynamic value in the combobox with xml form builder. I  see the document saying create property group and document property Id with respecitive values.  I am able to create the property group with system admin -> System config
    -> KM -> CM -> Global services  -> property Metadata -> groups  with new button. and I  am trying to create document property Id with value. I am not able to find the way to give  value in the property.   I am using  EP 7.0 Sp 14.  Please let me know how to sovel it

    Hi
    You can create new property metadata with System Admin > System Config > KM > CM > Global services > Property Metadata > Properties > New. Specify the values for this metadata as the ones you need to have in the combo box. Use allowed values parameter of the matadata to sepcify the values. Each metadata property will have unique property ID and you can map this property ID to your combo box in xml forms.
    Give it a try.
    Regards,
    Yoga

  • Update Records with XML

    Hi,
    I Understand that with XML save you can insert a row into a database however I am very confused about the ability of using XML to update a record.
    Can I use XML save to update a record? Eg if I have a primary key will it update instead of save?
    Are there any best practices for updating records when passed an XML record?
    Many Thanks

    A common way to pass data with custom events is to extend the
    event class to create a new version which has a reference to a var
    of the datatype you are passing, and then in your metadata type the
    event to your custom event class. If that makes sense
    [Event(name="customEvent", type="events.CustomEvent")]

  • Guidance with XML and templates

    I am currently saving metadata in separate xml files, each of which pertains to a particular image.
    (They all resemble the sample XML file above, but with different data, and possibly empty values
    in some fields). Currently, no fields are required (but may be in the future).
    I am now trying to define a template for the xml files...However, I am a novice with XML and am
    having trouble creating a template and its constraints.
    I would like the template to:
    - Impose an order on the metadata fields, so when I read it in, I can get the appropriate field
    at the appropriate time.
    - Validate that the type of data entered into those fields are correct.
    - If no xml file exists for that image, I will be able to pull in the field names (in order)
    into my program, and create a GUI with the field names and no data
    - If an xml file does exists for that image, I will be able to pull in the field names (in order)
    into my program, and create a GUI with the field names and the data in the xml file
    I'm assuming that this template would have to be read in each time a user requests to see the
    information associated with an image.
    SAMPLE XML FILE
    <?xml version="1.0" encoding="UTF-8"?>
    <Image>
    <metadata>
      <Miscellaneous>Here is more Jibberish to fill space</Miscellaneous>
      <Photographer>Mayor McCheese</Photographer>
      <Date>Sat, Sep 22, 1922</Date>
      <Project>44an5</Project>
      <Supervisor>Colonel Sanders</Supervisor>
      <Location>The Moon</Location>
    </metadata>
    </Image>/*
    I'm assuming the template would take on a form similar to below...
    "order" would be the order that they would be placed into the GUI.
    "type" would be the type of data allowed in that field (string, int, long, date, etc...)
    in this case 'long' is Oracles definition of long and not Javas.
    SAMPLE TEMPLATE
    <Image>
    <metadata>
      <Project order=0 type=String></Project>
      <Date order=1 type=Date></Date>
      <Photographer order=2 type=String></Photographer>
      <Supervisor order=3 type=String></Supervisor>
      <Miscellaneous order=4 type=Long></Miscellaneous>
      <Location order=5 type=String></Location>
    </metadata>
    </Image>Can anyone guide me in the right direction or offer some hints?
    Thanks,
    Dustpan

    bump?

  • Is there TopLinkGrid examples with XML descriptor deployment?

    Hi,
    Oracle docs include examples of using Oracle Coherence (as shared cache) with TopLinkGrid, but with annotations.
    Is there somewhere examples/docs about using TopLinkGrid, but with XML descriptor deployment ?
    Thanks.
    Regards,
    Dominique

    With TopLink Grid usage configured per Entity using EclipseLink customizers, you can either use annotations or specify in in the eclipselink-orm.xml file.
    For example, the following ecilpselink-orm.xml could be used in the OTN GridCache example with all the Java annotations removed. Note the specification of:
    <customizer class="oracle.eclipselink.coherence.integrated.config.GridCacheCustomizer"/>--Shaun
    <?xml version="1.0" encoding="UTF-8"?>
    <entity-mappings version="1.1" xmlns="http://www.eclipse.org/eclipselink/xsds/persistence/orm" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eclipse.org/eclipselink/xsds/persistence/orm http://www.eclipse.org/eclipselink/xsds/eclipselink_orm_1_1.xsd">
         <persistence-unit-metadata>
              <persistence-unit-defaults>
                   <access>FIELD</access>
              </persistence-unit-defaults>
         </persistence-unit-metadata>
         <entity class="gridcache.model.Address">
              <customizer class="oracle.eclipselink.coherence.integrated.config.GridCacheCustomizer"/>
              <table name="GRIDCACHE_ADDRESS">
              </table>
              <attributes>
                   <id name="id">
                        <generated-value />
                   </id>
                   <version name="version">
                   </version>
              </attributes>
         </entity>
         <entity class="gridcache.model.Employee">
              <customizer class="oracle.eclipselink.coherence.integrated.config.GridCacheCustomizer"/>
              <table name="GRIDCACHE_EMPLOYEE">
              </table>
              <named-query name="Employee.findByLastNameLike">
                   <query>SELECT e FROM Employee e WHERE e.lastName LIKE :lastName</query>
              </named-query>
              <attributes>
                   <id name="id">
                        <generated-value />
                   </id>
                   <version name="version">
                   </version>
                   <one-to-many name="phoneNumbers" mapped-by="owner">
                        <cascade>
                             <cascade-all />
                        </cascade>
                   </one-to-many>
                   <one-to-one name="address" fetch="LAZY">
                        <cascade>
                             <cascade-all />
                        </cascade>
                   </one-to-one>
              </attributes>
         </entity>
         <entity class="gridcache.model.PhoneNumber">
              <customizer class="oracle.eclipselink.coherence.integrated.config.GridCacheCustomizer"/>
              <table name="GRIDCACHE_PHONE">
              </table>
              <attributes>
                   <id name="id">
                        <generated-value />
                   </id>
                   <basic name="number">
                        <column name="NUM"/>
                   </basic>
                   <version name="version">
                   </version>
                   <many-to-one name="owner" fetch="LAZY">
                   </many-to-one>
              </attributes>
         </entity>
    </entity-mappings>

  • Custom action with XML type input and output parameter.

    Hi,
    I want to develop custom action with xml type input and/or output parameter.
    Is there sample code for java side. How is the definition of input and/or output parameter and set/get methods?
    does it need special .jar file to develop custom action like this?
    Thanks.

    Cemil - yes, you can use XML data types.  Use the class
    com.sap.lhcommon.xml.XMLDataType
    for your parameter type.  Here is a snippet from a custom action we use to log XML (instead of just returning the #text node like the default logger does):
    public class XMLLogger extends ActionReflectionBase
        private String source;
        private String eventType;
        private String textMessage;
        private XMLDataType xmlMessage;
        public XMLLogger()
            log = new Logger("UserLog");
            source = DEFAULT_SOURCE;
            eventType = TYPE_INFO;
            textMessage = "";
            xmlMessage = new XMLDataType();
        public XMLDataType getXmlMessage()
            return xmlMessage;
        public void setXmlMessage(XMLDataType xmlMessage)
            this.xmlMessage = xmlMessage;
        public void Invoke(Transaction transaction, ILog ilog)
            StringBuffer sb = new StringBuffer();
            sb.append('[');
            sb.append(source);
            sb.append("] ");
            sb.append(textMessage);
            sb.append(XMLUtils.convertXmlToString(xmlMessage));
    XMLUtils is a helper class we wrote - it's just a bunch of standard Java XML boilerplate code.  The important part you need to know is XMLDataType.getDocument() will return an org.w3c.dom.Document.
    I hope that was enough information to help.
    -tim

  • Problem with XML on Linux

    hi everybody,
    I've a big problem with XML on Linux, in details I see my program stopping on Linux at the instruction
    XMLReader xr = XMLReaderFactory.createXMLReader("org.apache.crimson.parser.XMLReaderImpl");
    and it's strange because on Windows it runs and there aren't problems about permissions on files, does anyone knows what to do?
    thanks in advance!
    Stefano

    What happens on that line? I'm assuming you get some kind of error or exception.
    Make sure the JAR file for Crimson is in your classpath.

  • Problem with XML in APEX ORA-06502

    i, I have a problem with XML generation, I developed an application in APEX, and in a html page I have this process:
    declare
    l_XML varchar2(32767);
    begin
    select xmlElement
    "iva",
    xmlElement("numeroRuc",J.RUC),
    xmlElement("razonSocial", J.RAZON_SOCIAL),
    xmlElement("idRepre", J.ID_REPRE),
    xmlElement("rucContador", J.RUC_CONTADOR),
    xmlElement("anio", J.ANIO),
    xmlElement("mes", J.MES),
    xmlElement
    "compras",
    select xmlAgg
    xmlElement
    "detalleCompra",
    --xmlAttributes(K.ID_COMPRA as "COMPRA"),
    xmlForest
    K.COD_SUSTENTO as "codSustento",
    K.TPLD_PROV as "tpldProv",
    K.ID_PROV as "idProv",
    K.TIPO_COMPROBANTE as "tipoComprobante",
    to_char(K.FECHA_REGISTRO, 'DD/MM/YYYY') as "fechaRegistro",
    K.ESTABLECIMIENTO as "establecimiento",
    K.PUNTO_EMISION as "puntoEmision",
    K.SECUENCIAL as "secuencial",
    to_char(K.FECHA_EMISION, 'DD/MM/YYYY') as "fechaEmision",
    K.AUTORIZACION as "autorizacion",
    to_char(K.BASE_NO_GRA_IVA, 9999999999.99) as "baseNoGraIva",
    to_char(K.BASE_IMPONIBLE, 9999999999.99) as "baseImponible",
    to_char(K.BASE_IMP_GRAV, 9999999999.99) as "baseImpGrav",
    to_char(K.MONTO_ICE, 9999999999.99) as "montoIce",
    to_char(K.MONTO_IVA, 9999999999.99) as "montoIva",
    to_char(K.VALOR_RET_BIENES, 9999999999.99) as "valorRetBienes",
    to_char(K.VALOR_RET_SERVICIOS, 9999999999.99) as "valorRetServicios",
    to_char(K.VALOR_RET_SERV_100, 9999999999.99) as "valorRetServ100"
    xmlElement
    "air",
    select xmlAgg
    xmlElement
    "detalleAir",
    xmlForest
    P.COD_RET_AIR as "codRetAir",
    to_char(P.BASE_IMP_AIR, 9999999999.99) as "baseImpAir",
    to_char(P.PORCENTAJE_AIR, 999.99) as "porcentajeAir",
    to_char(P.VAL_RET_AIR, 9999999999.99) as "valRetAir"
    from ANEXO_COMPRAS P
    where P.ID_COMPRA = K.ID_COMPRA
    AND P.ID_INFORMANTE_XML = K.ID_INFORMANTE_XML
    xmlElement("estabRetencion1", K.ESTAB_RETENCION_1),
    xmlElement("ptoEmiRetencion1", K.PTO_EMI_RETENCION_1),
    xmlElement("secRetencion1", K.SEC_RETENCION_1),
    xmlElement("autRetencion1", K.AUT_RETENCION_1),
    xmlElement("fechaEmiRet1", to_char(K.FECHA_EMI_RET_1,'DD/MM/YYYY')),
    xmlElement("docModificado", K.DOC_MODIFICADO),
    xmlElement("estabModificado", K.ESTAB_MODIFICADO),
    xmlElement("ptoEmiModificado", K.PTO_EMI_MODIFICADO),
    xmlElement("secModificado", K.SEC_MODIFICADO),
    xmlElement("autModificado", K.AUT_MODIFICADO)
    from SRI_COMPRAS K
    WHERE K.ID IS NOT NULL
    AND K.ID_INFORMANTE_XML = J.ID_INFORMANTE
    AND K.ID BETWEEN 1 AND 25
    ).getClobVal()
    into l_XML
    from ANEXO_INFORMANTE J
    where J.ID_INFORMANTE =:P3_MES
    and J.RUC =:P3_ID_RUC
    and J.ANIO =:P3_ANIO
    and J.MES =:P3_MES;
    --HTML
    sys.owa_util.mime_header('text/xml',FALSE);
    sys.htp.p('Content-Length: ' || length(l_XML));
    sys.owa_util.http_header_close;
    sys.htp.print(l_XML);
    end;
    Now my table has more than 900 rows and only when I specifically selected 25 rows of the table "ANEXO_COMPRAS" in the where ( AND K.ID BETWEEN 1 AND 25) the XML is generated.+
    I think that the problem may be the data type declared "varchar2", but I was trying with the data type "CLOB" and the error is the same.+
    declare
    l_XML CLOB;
    begin
    --Oculta XML
    sys.htp.init;
    wwv_flow.g_page_text_generated := true;
    wwv_flow.g_unrecoverable_error := true;
    --select XML
    select xmlElement
    from SRI_COMPRAS K
    WHERE K.ID IS NOT NULL
    AND K.ID_INFORMANTE_XML = J.ID_INFORMANTE
    ).getClobVal()
    into l_XML
    from ANEXO_INFORMANTE J
    where J.ID_INFORMANTE =:P3_MES
    and J.RUC =:P3_ID_RUC
    and J.ANIO =:P3_ANIO
    and J.MES =:P3_MES;
    --HTML
    sys.owa_util.mime_header('text/xml',FALSE);
    sys.htp.p('Content-Length: ' || length(l_XML));
    sys.owa_util.http_header_close;
    sys.htp.print(l_XML);
    end;
    The error generated is ORA-06502: PL/SQL: numeric or value error+_
    Please I need your help. I don`t know how to resolve this problem, how to use the data type "CLOB" for the XML can be generate+

    JohannaCevallos07 wrote:
    Now my table has more than 900 rows and only when I specifically selected 25 rows of the table "ANEXO_COMPRAS" in the where ( AND K.ID BETWEEN 1 AND 25) the XML is generated.+
    I think that the problem may be the data type declared "varchar2", but I was trying with the data type "CLOB" and the error is the same.+
    The error generated is ORA-06502: PL/SQL: numeric or value error+_
    Please I need your help. I don`t know how to resolve this problem, how to use the data type "CLOB" for the XML can be generate+The likeliest explanation for this is that length of the XML exceeds 32K, which is the maximum size that <tt>htp.p</tt> can output. A CLOB can store much more than this, so it's necessary to buffer the output as shown in +{message:id=4497571}+
    Help us to help you. When you have a problem include as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
    And always post code wrapped in <tt>\...\</tt> tags, as described in the FAQ.
    Thanks

  • Report with XML as input !

    Hello,
    I am hv been trying to create a simple report with an XML input but by the end of it, it doesnt give any data on the report.
    I tried it with XML + SQL input, it gave me a blank report and when I tried with a pure SQL input it did give data in the report. I enabled the trace option but couldnt get to the core of the problem.
    My XML & XSD file are all valid, they are auto-generated.
    The report doesnt give any error either.
    Any clue what the problem could be ??
    Regards,
    Madhu.

    Post Author: ashdbo
    CA Forum: Data Connectivity and SQL
    I think it can be done by looking at Crystal Report XI.BUTHow can I do this programatically in Java ?  Thanks,Ashok

  • Excel Output problem with XML Publisher Report

    Hi Experts,
    I am working on XML Publisher report with EBS 11i and database 9i. My XML Report output type is EXCEL, i have below issue with the output.
    I have column 'quantity' with xml tag <?QUANTITY?>.
    In the XML file it's showing the value '028' for quantity, but when i open the output in EXCEL, it's showing up '28', removing leading zero. I want to show the data in EXCEL also '028'. Could somebody help me how to print the XML Tag value as it is in EXCEL output.
    Thanks in advance.

    Hi, try using this in your template.
    <fo:bidi-override direction="ltr" unicode-bidi="bidi-override"><?QUANTITY?></fo:bidi-override>

  • Integration with XML Publisher

    Has anyone found out or used the integration with XML Publisher? I am using the Sourcing product and it can generate report output based on XML Publisher directly from an OAF page. I was wondering how that is done.
    Anyone know?

    I had a similar query - I heard that AR, GL, and AP (11i10) are not compatible with XML Publisher - is this true? I thought was the XML Publisher was independent of modules.
    Pls share any experience with the Publisher tool - challenges, installation, comparison to Optio, etc.
    Thanks, Vishnu

  • How can I export a stylesheet (either CSS or XSLT) with XML from indesign?

    Hi,
    I am using indesign CS4. I want to export style sheet whether it is CSS or XSLT file with xml.
    I try to get it but can't.
    Also the XML i am exporting does not styles that has been applied by me while creating the file in Indesign.
    Please help me out by telling me the way how can i get a stylesheet and also how can I embed that style sheet with XML so that my XML file looks similiar to the indesign file.
    Thanks,
    Choudhary Nafees Ahmed

    I am using indesign CS4. I want to export style sheet whether it is CSS or XSLT file with xml.
    CSS is not an XML style sheet, it's an HTML style sheet. "Export to HTML" will export an empty stylesheet for the paragraph and character styles. ID cannot convert its (very advanced) typographic capabilities to the (very limited) CSS notation, and thus it defaults to exporting the names only.
    XSLT is not an XML style sheet either; it's a transformation format (http://www.w3.org/TR/xslt).
    I try to get it but can't.
    Also the XML i am exporting does not styles that has been applied by me while creating the file in Indesign.
    XML Export does not export anything except the items you tagged with the Auto-tag feature, or you tagged yourself. If you need your styles tagged, use Map Styles to Tags (http://www.adobe.com/accessibility/products/indesign/mapping.html).
    XML has almost nothing to do with styling -- ideally, XML describes document structure while styles describe formatting.

  • How to Create a Table in Oracle with XML data type.

    Dear ALL,
    What are the requirements for creating a table with xml datatype in Oracle: The steps would help very much to know the scripting of the table and how to query and either insert/update and remove data from that table.
    Any help, direction, advise would be highly appreciated.
    Thanks.

    Reffer to this Note.243554.1.
    In a nut shell you will need to run catqm.sql

Maybe you are looking for

  • After iOS7.0.2 update can no longer visit the internet using WiFi

    I have tried unsuccessfully to sign into many services on the internet, but my iPhone4 will not connect using WiFi after upgrading to iOS7.0.2. I must use Cellular data to connect to the internet. If i RESET NETWORK settings and connect using Cellula

  • Quick time player just flashing

    Can anyone help.Since upgrading to Itunes 7 which also installs quick time player the player screen only shows a coloured sceen flashing madly.I used to be able to see the video files playing but now no movies show.Even if I open quick time player wh

  • Macbook, Final Cut Express and Canon 5D video files

    Hello everyone. I intend to purchase my first Apple Mac soon. It will probably be the Aluminium Macbook with 4GB RAM. I am an avid photographer and use the Canon EOS 5D Mark II. I can handle all the processing of the still photographs without a probl

  • Business Rule Running issue??

    I am having all the BR's in my webform Run on Save When the rule runs on save, the rule is taking a lot of time to complete and may it is cretaing loops, may be since there are more than one rule. And if I run that rule by double clicking the rule on

  • How to Export browsing history in Safari.

    It took me a while to find this out so I thought I'd share it and save other people the hassle... 1. Open Finder. 2. Select 'Go' from the menu at the top of the screen. 3. Select 'Go To Folder'. 4. Type '~/Library/Safari' 5. The contents of this fold