Simple source codes using JAXM Provider

Hi guys,
I am new to this technology. I looked around the web for simple codes using JAXM Provider but not luck. I will appreciate your help if someone out there have working example using JAXM service Provider.
Thanks in advance...

FileDataSource fds=new FileDataSource("abc.txt");
               DataHandler xx = new DataHandler(fds);
               MimeMultipart mp = new MimeMultipart();
               MimeBodyPart mbp1 = new MimeBodyPart();
mbp1.setDataHandler(xx);
          mbp1.setFileName("abc.txt");
               mp.addBodyPart(mbp1);

Similar Messages

  • How to synchronize source code using distributed NWDI Servers?

    Hello,
    I am facing a bit of a challenge trying to find documentation regarding the replication of source code using NWDI/DTR in a distributed environment. By distributed I mean independent instances in different geographical locations.
    Scenario
    Our customer product (DCs/SCs/etc) will be developed by two teams. These teams are far away from each other, and a local dedicated NWDI instance for each team is a must, due to the distance plus the big size of the product. It should be possible for the teams to work on a same Track. We use a NWDI 7.31 instance.
    I have been looking into the documentation and so far I found no guide on how to keep both repository updated with each other changes.
    The following links make notes of the scenario but are not addressing the solution properly.
    Distributed Development
    A synchronization of changes might have to be done between:
    Workspaces present in the same repository.
    Workspaces present in different repositories.
    Developepment Infrastructure (DI) Architecture
    Central source file management – in the Design Time Repository (DTR), a file storage in a database with export mechanisms that allow you to synchronize the instances of the DTR in a distributed development.
    Solution?
    Does NWDI offers any tool to solve this kind of requirement? Am I missing any documentation?
    Or, NWDI doesn't have a solution for this kind of scenario?
    And by the way, I would expect a "smooth" integration between the servers, like automatic asynchronous replication, with proper managment of conflicts and all the other delightful paradigms of source control.
    Are we talking about exporting source code and importing it on the other side? Would this be the only alternative, and how is it done?
    Thanks in advance.

    A lot of obfuscators, rather than use one-letter method names, use keywords for names. This has the benefit of not decompiling to valid Java
    Well, thats only true if you have a bug in your decompiler. My decompiler (jad) handles keywords by adding additional letters (underscores and stuff).
    The problem is solved by an obfuscator. Compiled c++ code can be disassembled in the same way as obfuscated java byte code. So, if you were satisfied with the protection of your C++ code, then you should be just as satisfied with obfuscated java byte code.

  • How to read and then extract HTMl source code using java program?

    Hi,
    Could someone tell me how to read and then extract the content of certain tag from html source code. For example, given url http://.... , I would like to know what the <Title> content <Title> in that page is.
    Any help is greatly appreciate.

    Use a URLConnection to make the connection to the page at the needed URL. From the URLConnection, you can get an InputStream that is the stream of data from that page. Just search through the stream and find the <title> tags (don't forget to check for case sensitivity).

  • Error in using Jaxm provider deployed in j2ee 1.3.1 (RI)

    We were able to successfully deploy/test all JWSDP v1.0 samples into the
    J2ee 1.3.1 (RI) in preparation for our next projects.
    We have problems, however, in deploying the JAXM-provider and
    JAXM-providerAdmin samples. Please, help us.
    We followed the procedures defined in your article; we even re-deployed the
    same war files that came out of running jwsdponj2ee.bat.
    We always get the same errors. We even switch back and forth the port for
    webservices in our desperation; but to no avail. THe scenarion went like this:
    After deployment of the modified jaxm-provider.war and
    jaxm-provideradmin.war, we then point our browser to
    http://127.0.0.1:8080/jaxm-provideradmin. We then enter "j2ee" as user and
    password. So, far so good and we get to the next page that has the frame
    (http://127.0.0.1:8080/jaxm-provideradmin/index.jsp). So far so good at this
    point. But when we click on the "HTTP" icon under ebXML profile, we get some of
    these error messages:
    "Internal server error"
    javax.servlet.ServletException
         at
    org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:463)
         at org.apache.jsp.ebxml_0005fhttp$jsp._jspService(ebxml_0005fhttp$jsp.java:941)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at
    org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    root cause
    java.lang.NoClassDefFoundError
         at org.apache.jsp.ebxml_0005fhttp$jsp._jspService(ebxml_0005fhttp$jsp.java:149)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at
    org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    And if we click on the "HTTP" icon of SOAPRP, we get these messages:
    Internal Server Error
    javax.servlet.ServletException
         at
    org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:463)
         at
    org.apache.jsp.soaprp_0005fhttp$jsp._jspService(soaprp_0005fhttp$jsp.java:941)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    Root Cause
    java.lang.NoClassDefFoundError
         at
    org.apache.jsp.soaprp_0005fhttp$jsp._jspService(soaprp_0005fhttp$jsp.java:149)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    Although our setup of J2EE 1.3.1 (R.I.) is able to successfully run all the
    other JWSDP v1.0 Samples, we are obviously missing something in deploying the
    JAXM-provider and provider admin samples.
    Any ideas to help us, Please...
    Thanks in advance for your possible time and effort....
    adler

    I was really hoping someone could/would answer your question, I have having the exact same issues. After looking through release notes for J2SE 1.4.0_01, J2EE 1.3.1, and JWSDP 1.0, the only thing I can come up with is that there is a conflict between the JAXM version that the JWSDP installer and the XML packages included with J2SE. This is purely conjecture, but it's all I have to go on right now. If you figure out or find the solution please post it.
    Thanks,
    tc

  • Compile flexunit 4.1 beta 2 source code using flex sdk 3.0?

    when I start the ant build, it stops in the middle without giving any error when it tries to compile using compc at the following point:
    <target name="compile" depends="init">
          <compc output="${bin.loc}/${build.finalName}">
             <include-sources dir="${src.loc}" includes="*" append="true" />
             <source-path path-element="${src.loc}" />
             <compiler.external-library-path dir="${lib.loc}" append="true">
                <include name="*.swc" />
             </compiler.external-library-path>
             <compiler.external-library-path dir="${FLEX_HOME}/frameworks/libs" append="true">
                <include name="flex.swc" />
                <include name="framework.swc" />
                <include name="rpc.swc" />
                <include name="utilities.swc" />
             </compiler.external-library-path>
             <compiler.verbose-stacktraces>true</compiler.verbose-stacktraces>
             <compiler.headless-server>true</compiler.headless-server>
             <define name="CONFIG::useFlexClasses" value="${build.useFlex}" />
          </compc>
       </target>
    Please help me resolve this problem.

    @crazyghost81 - Ok, the only variant I was able to find in what you're saying is using Ant 1.8.1 rather than 1.7 and SDK 3.0.0 rather than 3.2.0.  I d/l'd Ant 1.8.1 and SDK 3.0, ran the build, and everything completed with no issues.  I'm still inclined to believe it's something system specific.  I eventually want to upgrade to Ant 1.8.1 on the CI machine, so when that happens we can see if Hudson pukes.  Otherwise, I don't know what I can do to help you solve this issue other than ship you the 3.0.0 artifacts which we don't officially support.  Maybe someone else on the forums has a suggestion.
    Can you provide more details re: your system config?  OS and version maybe?  If you want the 3.0.0 artifacts from the build on my machine, I can email them to you, but please keep in mind that they come with no warranty since we don't support FU4 on SDK 3.0.0.  Let me know your email if you'd like me to do so.
    -Brian

  • Where is JMF source code?

    Sun, I love Java and use it in most of my projects but what's up with the JMF source code? You mention several places that we can download the source code and even provide some links throughout your Sun site but none of them actually provide a way to download the source code. Can you either reply here with a good link to the source code or attach it to an e-mail to me at [email protected]? Thanks.
    Gerry

    I was just getting ready to post a new thread similar to this one. It looks like you're doing something very much like what I need to do. I'm looking to create a movie from the contents of a JPanel and (if possible) I would like to create a composite movie--that is overlay the contents of the JPanel onto video footage of the same dimensions. Basically, I have a 2D application that draws lines over video. Currently, the video is displayed in the background and the lines are overlayed by drawing on the JPanel. I would like to export the finished product to a movie so that results can be viewed outside of my application.
    If you have any insight as to how to do this, I would be greatly appreciative.
    Additionally, I just read a similar thread where some guy seemed to have the same problem you have. The only response received was,
    "I think it does that for QuickTime if you don't define the lineStride value in the VideoFormat (lineStride = pixelStride * width)."
    The only insight I can give is the obvious: either videoTrakInfo or videoFormat is null when that method (writeVideoSampleDiscription) is called. I'd assume it's the former, which would meen that
    trakInfoArray[streamNumber]
    is null. Which, I guess would mean there is no track information for the given stream? Of course, this is all obvious. Further, I have no idea what it all means.
    - Kevin

  • Very Easy Question: How to view source code of JAR file

    Hi Experts,
    1) Can we can see the content of JAR file?
    2) How we can we see content of JAR file?
    3) I have with me JAR file. It is sap.compcui_gpoadp~ObjectAndDataProvider.JAR. I have to make some changes in the JAR file source code. How I can find the source code?
    I tried to see the source code using NWDS. However, I can not see the code.
    Regards,
    Gaurav

    >
    Gary wrote:
    > Can I make changes in the source code of JAR file? Can I make changes in the code?
    You cannot do this by simple repacking/rearchiving of JAR, because it contains special descriptor with fingerprint. In general, JAR is unmodifiable, however, you can create a new one with modified sources.
    You can try to import the JAR in some Java project in Eclipse, for example. Then make your changes and use the Eclipse's Export JAR wizard in order to repack the modified source Java files in a new JAR.
    >
    Gary wrote:
    > Can I rename the JAR file and still it will usable? Please confirm.
    I general, yes, the operation is allowed. However, you cannot do this with JAR deployed on some J2EE server or Portal, for example. Because there are references to it.
    >
    Gary wrote:
    > Please let me know if by any chance I can see the content of JAR file in NWDS.
    Yes, sure. Use Import from Archive wizard in Eclipse. Or add the JAR in the class path of some Java project and Eclipse will show you the content of it.
    BR, Sergei

  • Extra blank lines in source code

    I have built a website in Dreamweaver CS4 and have a client editing pages in Contribute CS5. Both of us are working on Windows 7, and the site is hosted on Linux. When she makes edits to the page, something is introducing a GAZILLION blank lines in the source code. A typical page for this site is about 380 lines of code. The problem page is now more than 310,000 lines code with 100-200 blank lines between every "real" line of code. What the...?!
    I need to know how to stop this and how to remove the blank lines from the source code using Dreamweaver.
    The page in question lives here: http://www.alexandercitychamber.com/member-category.html
    HELP!!!
    Jeff

    Hello, Diane -
    We've got two separate issues here, but I think we have the solution to both.
    1. How to stop Contribute from adding blank lines in the code, and
    2. How to clean up a GAZILLION lines of blank code in a document.
    First, Number 1. I assume you're working in Dreamweaver. If not, I'm not sure how to guide you. But, when you define a Contribute Site, there is an area to specify administrative roles and permissions. Under each Role, at the bottom, you will see a popup for what kind of server the site is hosted on. The default is Windows. I had to change this to Unix (Linux) to match the hosting of our problem site. Find out what platform your host is using. You will have to specify this under each admistrative Role. After doing this, I had the client make some edits, then I opened the files in Dreamweaver. No new blank lines. I admit, I still have my fingers crossed somewhat.
    Okay, now how to clean up your source code and remove blank lines. A developer friend found this on some forum I had not seen. I don't know where, but I am grateful to the person who wrote it. It didn't get all the blank lines in my files, but I think some of the others, which I removed manually, were probably from the client pasting content in from Word. Here's what to do:
    1. Open the file in Dreamweaver
    2. Click CTRL + F, or go to EDIT > FIND AND REPLACE
    3. Select "Current document" in "Find In" (You can also select the folder if you have multiple files.
    4. Search in "Source Code"
    5. Check the box labeled "Use regular expression"
    6. Type "[\r\n]{2,}" (without quotes) in "Find"
    7. Type "\n" (without quotes) in "Replace"
    8. Press "Replace All"
    The operation chugged for a few minutes with my 301,000-line document. Yours may a take a little longer, but it did work. Good luck!
    Jeff
    [email protected]

  • How to read source code in Safari?

    How do I read a web page source code using Safari?
    Thanks.

    Safari > Preferences > Advanced > Show Develop in menu bar
    then
    Develop > Show Page Source

  • Database Source Code Synchronization with PVCS

    Hello All,
    I would really appreciate your ideas/suggestions on developing, implementing the following requirement.
    I am in the process of developing a mechanism to validate the database procedure source code in the application PVCS library, that matches the source code used for QA and PRD environments. The objective is to assure that production version of stored procedure code is the correct / matching version with PVCS, QA and PRD.
    Database: Oracle 9i
    Source Control System: PVCS
    Database Objects: Stored Procedures
    Other Questions:
    - Do you know any PVCS API's to read the files?
    Thanks, Madhavi

    Hello All,
    I would really appreciate your ideas/suggestions on
    developing, implementing the following requirement.
    I am in the process of developing a mechanism to
    validate the database procedure source code in the
    application PVCS library, that matches the source code
    used for QA and PRD environments. The objective is to
    assure that production version of stored procedure
    code is the correct / matching version with PVCS, QA
    and PRD.This is going to take a lot of work and I am not even sure that is is deterministic. And it is easily handled by the correct process control as well.
    The following process control steps allow this.
    - Developement ONLY delivers scripts for database changes. Thus table changes, data changes, new procs, old procs, what ever are delivered as scripts and are checked into version control.
    - QA does NOT use anything that is not in the version control system. No disks, memory sticks, emails, etc (and in particular QA does NOT use developement database servers for testing.)
    - QA are the ONLY ones allowed to install anything to production. This includes all the DBAs and it includes "emergency" fixes (which usually greatly diminsh if the above is followed and QA is actually testing stuff.)
    The last step can be enforced either by simply disallowing change access to production machines except for QA and non-developement (MUST be non-developement) admin.
    But if you insist, people have been interfacing programmitically with Oracle and PVCS for years. You can search the net for thousands of these. I suspect that you will find that Perl is used a lot in this (but that could be my own bias.)

  • Printer source code.

    Where do I go to get the source code used for the printer? I know the Photosmart Premium c309g-m and others run Linux and other open source software, but I cannot find where the source is.

    Do you mean the source code for Linux drivers?  The HP Linux Imaging and Printing Site has drivers for 2000+ HP printers and may have the information you are looking for.
    If you are looking for the source code for the actual printer firmware - that is not written using open source tools and the code is proprietary.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Xletview: why not use sun's javaTV source code directly ?

    xletview : one emulator for viewing MHP Xlets on a PC;
    I see many difference from sun's code about the part of javaTV.
    Why the author Martin Sveden need to rewrite them and not use sun's javaTV source code directly ?
    Thank you for your any answer.
    Sorry for my horrible english.

    XleView is a fine effort, but it has its limitations. I tried using it for the GunBunny demo available in the JavaME SDK 3.0 Eary Access available in
    http://java.sun.com/javame/downloads/sdk30ea.jsp
    and I encountered some of thost limitations. What Sveden does it several tricky manipulations in a classloader for the Xlet. In particular, he translates bytecode as he loads the Xlet's classes, changing some class names, such as changing
    java.awt.Toolkit
    tto
    xjava.awt.Toolkit
    This works up to a point. This version of Toolkit usually just turns around calls java.awt.Toolkit's corresponding routine, but he deliberately he does not implement the ubiquitous
    public Image createImage(URL url)
    When I downloaded his source and tried adding ths into his code, I then encountered at runtime
    Uncaught error fetching image:
    java.lang.NullPointerException
    at sun.awt.image.URLImageSource.getConnection(URLImageSource.java:97)
    at sun.awt.image.URLImageSource.getDecoder(URLImageSource.java:107)
    at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:240)
    at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172)
    at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)
    I think that this is some optimization within J2SE where they do not wait for the image to load and do the fetching in a separate thread. I do not know if there is some way to force the Sun's JVM to disable this optimization and I have not investigated furher, but I did email Svenden. I noticed that the current version of XleTView is 0.3.6 which is dated June 2004 and the web site http://www.xletview.org/ has had not news since 2005 .
    I note that Svenden provides an elegant user interface but I advise you not try to learn the API's from his classes: he makes no effort to keep his implementation separate from the API standards so, for instance, his version of HScene is
    package org.havi.ui;
    public class HScene extends Container
    implements HComponentOrdering, ImageObserver, MenuContainer, Serializable {
    whereas the real standard is
    public class HScene extends Container
    implements HComponentOrdering {
    I hate to critize such a fine effort, but it is best to keep an imlementation separate from the public API.
    I agree that having a lightweight, simple and Java feature-complete Xlet viewer running would be very helpful, especially if BD-J gains much popularity. I have found trying to work with the vendor players described at
    http://wiki.java.net/bin/view/Mobileandembedded/Blu-RayDiscHelloWorld
    to be frustrating. I tried all four mentioned and I have gotten none of them to work for me yet. These are huge downloads and the "Intro Version" of Arcsoft pointed to at the SDK 3.0 Early Access page
    http://www.arcsoft.com/products/totalmediatheatre/
    just gives a "File not found" HTML page. This forum post mentions that perhaps it was recently taken down?
    http://www.arcsoft.com/forum/forum_posts.asp?TID=1084
    I have already emailed Michael Downs of Arcsoft since he is mentioned here:
    http://wiki.java.net/bin/view/Mobileandembedded/BDJPCPlayers
    What did work for me was to take Sun's JavaTV 1.1 Reference Implementation and PowerDVD's BDJ.jar and hack/fix a few classes to get GunBunny to work within the RI's RunXlet program. This is not trivial but I will will describe:
    Download the JavaME 3.0 SDK EA and then download the correct version of PowerDVD that the SDK page points to:
    http://www.brothersoft.com/powerdvd-download-50794.html
    Download the RI binary and source of Java TV API 1.1
    http://java.sun.com/javame/technology/javatv/index.jsp
    Since I am too lazy to use anything but the latest 1.6 JRE as a runtime, I have to fix
    com.sun.tv.media.util.MediaThread
    to comment out its stop() method. This is becase stop() was deprecated and made final in J2SE 1.5
    http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Thread.html#stop()
    http://java.sun.com/j2se/1.5.0/docs/guide/misc/threadPrimitiveDeprecation.html
    Next, I had to mae a change to Sun's JavaTV implementation to keep the GunBunny demo happy by providing a ServiceContext. The RunXlet program calls SIEmulator, but that environment does not provide a ServiceContex, so I added one back in:
    com.sun.tv.receiver.SIEmulator
    private static ServiceContext svcctx = null;
    Add before every call to new AppSignalEvent() and add the svcctx as the second-to-last argument:
    if(svcctx == null){ try { svcctx = new com.sun.tv.ServiceContextImpl(); }catch (Exception e){ e.printStackTrace(); } }
    I then had to hack a few PowerDVD classes, which is evil of me. First, I had to build an empty class by the name of
    sun.util.BDJPlugin
    becuase some PowerDVD class extends it but it is not in its BDJ.jar and then I had to reverse-compile (evil!) and modify one of their internal classes to avoid a dependency on their native methods. What I ended up with was a hacked version of com.cl.bdj.helper.CUtil to avoid the native methods which access the registry where they query for registry settings but also provide a default value (which I return).
    com.cl.bdj.helper.CUtil
    private static String pGetRegistryString(long i ,String string ,String string3) {
    return string3;
    private static int pGetRegistryInt(long i ,String string ,int j) {
    return j;
    The last thing I had to do was to change com.hdccookbook.gunbunny.BaseXlet, to use the JavaTV container rather than the org.havi one:
    import javax.tv.graphics.TVContainer;
    import java.awt.Container;
    change
    // protected HScene scene;
    protected Container scene;
    public final void run() {
    // waitForPresenting();
    // scene = HSceneFactory.getInstance().getDefaultHScene();
    scene = TVContainer.getRootContainer(xletContext);
    In order to having working keys, I had to add the KeyListener interface to BaseXet and
    run(){
    addKeyListener(this);
    and then add a near duplicate of the org.dvb.event.UserEvent* stuff that is already there:
    public void keyPressed(KeyEvent e){
    switch(e.getKeyCode()){
    case KeyEvent.VK_0:
    case KeyEvent.VK_1:
    case KeyEvent.VK_2:
    case KeyEvent.VK_3:
    case KeyEvent.VK_4:
    case KeyEvent.VK_5:
    case KeyEvent.VK_6:
    case KeyEvent.VK_7:
    case KeyEvent.VK_8:
    case KeyEvent.VK_9:
    numberKeyPressed(e.getKeyCode() - KeyEvent.VK_0);
    break;
    case KeyEvent.VK_ENTER:
    enterKeyPressed();
    break;
    case KeyEvent.VK_LEFT:
    arrowLeftKeyPressed();
    break;
    case KeyEvent.VK_RIGHT:
    arrowRightPressed();
    break;
    case KeyEvent.VK_UP:
    arrowUpPressed();
    break;
    case KeyEvent.VK_DOWN:
    arrowDownPressed();
    break;
    public void keyReleased(KeyEvent e){
    // System.out.println("Released: e="+e+" code="+e.getKeyCode());
    public void keyTyped(KeyEvent e) {
    // System.out.println("Typed: e="+e+" code="+e.getKeyCode());
    It then comes up and functions, but the rendering is not very good. Again, this is complete hack. Running the Java TV 1.1 RI in a JRE 1.6 is not supported. If you try to run any of the other examples, you will discover that the XML parsing is broken in JRE 1.6 with this message:
    Parsing failed: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequence
    Exception: Invalid byte 1 of 1-byte UTF-8 sequence., file: lib\JavaTVSampleFile01.xml
    and you have to go and change the lines in
    lib\JavaTV.properties
    from
    ServiceFileHandler=com.sun.tv.receiver.ReceiverFile
    # ServiceFileHandler=SampleData_01
    to
    # ServiceFileHandler=com.sun.tv.receiver.ReceiverFile
    ServiceFileHandler=SampleData_01
    and build samples\db\SampleData_01.java and put it in your classpath along with all these other hacks.
    Nonetheless, if you want to develop a somewhat generic Xlet that uses some BD-J features, that is how you might do it. But the moment you exercise anything else in the vendor's BDJ.jar that simply doe snot work outside of their environment or invokes one of their native methods, you are again stuck.
    It would be nice if Sun would at least bother to update the JavaTV RI with the fixes I hae mentioned. Their "jmflite" implementation does not render perfecly but at least it would give the programmer something to work with without having to deal with an older JRE, etc.
    Andrew
    Edited by: AndrewMorrow on Oct 20, 2008 2:48 AM

  • I am running 10.6.8 and using iweb for my web site. After several SEO analysis they all indicate I need H1-6 header tags. After looking at the source code I see there are none in iweb. Is it necessary to add? If so, how do I add H Tags to iweb.

    I am running 10.6.8 and using iweb for my web site. After several SEO analysis they all indicate I need H1-6 header tags. After looking at the source code I see there are none in iweb. Are they necessary to add?  Why would one add these tags and how do I add H Tags to iweb? And are there examples to look at? I am slowly learning about simple web design and assumed that iweb was stand alone without having to write code. Is this one of the reasons iweb is no longer supported? Thanks for looking at this!

    A simple text page like this:
    Heading
        sub heading
              text paragraph ....
    Is traditionally represented by html tags like:
    <h1>Heading</h1>
         <h2>sub heading</h2>
              <p>text paragraph ... </p>
    I would guess that the use of h1-h6 tags helps search engines to understand the structure of a page as the tags imply a certain structure.
    This can be compared to more generic tags like <div> that could represent any kind of content - and may be what iWeb uses (you'll have to check yourself).
    I would generally recommend that you use some kind of up to date blog/site building tool, perhaps Wordpress or Squarespace (I haven't used either one myself) that support current web technologies - this should reduce your SEO issues and make it easier to properly support mobile/tablet users.

  • How to use Source Code Control for Large Application?

    Hi, All!
    I would like to collect knowledge about "best practice" examples for using Source Code Control and project organization for relative large application (let's say approx 1000 SubVIs).
    Tools used:
    LabVIEW 8.0
    CVS Server
    PushOK CVS Proxy Client
    WinCVS
    With LabVIEW 8 we can organize large project pretty well. This described in article Managing Large Applications with the LabVIEW Project.
    I have read this article too: Using Source Control Software with LabVIEW In this Article Source Safe used, but with PushOK all looks nearby the same and works (some tricks for compare function are required).
    Example. Two developers working together on same project. Internally project is modular, so one developer will work with module "Analysis", and another one with "Configuration" without interferences. These modules placed into Subfolders as shown in example above.
    Scenario 1:
    Developer A started with modification of module "Analysis". Some files checked out. He would like to add some SubVIs here. So, he must also perform check out for the project file (*.lvproj), otherwise he cannot add anything into project structure.
    Developer B at the same time would like to add some new functions into module "Configuration". He also needed to check out project file, but this file already checked out by Developer A (and locked). So, he must wait until lvproj file will be checked in. Another way is mark *.lvproj files as text files in PushOK, but then one of developers will get conflict message by checking in and then merging will be necessary. This situation will coming very often, because in most cases *.lvproj file will be checked out all the time.
    Question: Which practice is better for such situation? Is Libraries better than folder for large project?
    Scenario 2:
    Developer C joined to the team. First, he must get complete project code for starting (or may be at least code of one Library, which assigned to him).
    Question: How it can be done within LabVIEW IDE? Or WinCVS (or other SCC UI) should be used for initial checkout?
    Scenario 3:
    Developer D is responcible for Build. Developers A,B,C have added lot of files into modules "Analysis", Configuration" and "FileIO". For building he need to get complete code. If our project splitted into folders, he should get latest *.lvproj first, then newly added SubVIs will appear in Project Explorer, then he should expand tree, select all SubVIs and get latest versions for all. If Project organized in Libraries, he must do the same for each library, isn't?.
    Question: Is this "normal way", or WinCVS should be used for this way? In WinCVS its possible with two mouseclicks, but I prefer to get all code from CVS within LabVIEW IDE recursively...
    That was a long post... So, if you already working with LabVIEW 8 with SCC used for large project, please post your knowledge here about project structure (Folders or Libraries) and best practices, its may be helpful and useful for all of us. Any examples/use cases/links etc are appreciated.
    Thank you,
    Andrey

    Regarding your scenarios:
    1. Using your example, let's say both developers checked out version 3
    of the project file. Assuming that there are only files under the
    directories in the example project, when Developer A checks in his
    version of the project, there will be new files in one section of the
    project separate from where Developer B is working. Developer B,
    notices that there is now a version 4 of the project. He needs to
    resolve the changes so will need to merge his changes to the latest
    version of project file. Since the project file is a text file, that is
    easy to do. Where an issue arrises is that after Developer B checks in
    his merged changes, there is a revision 5. When Developer A and B go to
    make another change, they get the latest version which will have the
    merged changes to the project file but not the referenced files from
    both Developer A and B. So when A opens version 5, he sees that he is
    missing the files that B checked in and visa versa. Here is where the
    developers will needs to manually use the source control client and,
    external to LabVIEW, get those new files.
    Where libraries help with the above scenario is that the library is a
    separate file from the project so changes made to it outside of the
    project do not require the project to be modified. So this time, the
    developers are using a single project again which time time references
    two libraries. The developers check out the libraries, make changes to
    the libraries, and then check those changes in. So when each developer
    opens the project file, since it references the project file, the
    changes to the library will be reflected. There is still the issue of
    the new files not automatically coming down when the latest version of
    the library is obtained. Again, the developers will needs to manually
    use the source control client and, external to LabVIEW, get those new
    files. In general, you should take advantage of the the modularity that
    libraries provide.
    2. As noted in the above scenario, there is no intrinsic mechanism to
    get all files referenced by a LabVIEW project. Files that are missing
    will be noted. The developer will then have to use the source control
    provider's IDE to get the initial contents of the project  (or library).
    3. See above scenarios.
    George M
    National Instruments

  • SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft OLE DB Provider for SQL Server 2012 Analysis Services." Hresult: 0x80004005 Description: "Internal error: An une

    SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.  An OLE DB record is available.  Source: "Microsoft OLE DB Provider for SQL Server 2012 Analysis Services."  Hresult: 0x80004005
     Description: "Internal error: An unexpected error occurred (file 'pcxmlacommon.cpp', line 43, function 'PCFault::RaiseError').
    I'm getting above error in the pre- execute phase of a DFT when I'm trying to fetch data from a SSAS cube using mdx query.
    I'm using OLE DB provider for connecting to cube.
    I got one resolution for Error Code 0X8004005, which asked me to add 'Format= Tabular' in cube's connection string. It does not seem to work either. Can any one help me out on this???

    You are probably missing an update.
    I saw a MS Connect post https://connect.microsoft.com/SQLServer/feedback/details/250920/error-using-oledb-or-datareader-to-get-analysis-services-data where that suggestion was proposed as a fix, but is for an older SQL Server version.
    So do there is a question if you pull data from SQL Server 2012 SSAS using SSIS 2012 (so no other build is involved).
    Arthur My Blog

Maybe you are looking for

  • Dithering no longer works under 1.4.2

    I had this posted in the AWT forum and I was suggested that the issue was better suited to the Java 2D forum: I am trying to convert a jpeg to a 1 bit per pixel Buffered image. The current implementation is working fine under 1.3.1_05 but not under a

  • Itunes will not come on my Mac

    Itunes will not come on my iMac. On Jan.30th it stopped coming up on computer. Please help

  • Missing disk space Problem

    Hi, I have recently purchased a T61p from lenovo equipped with a hard drive of capacity 120GB. I have never regretted buying a thinkpad since. Except for the fact that after a couple of weeks I kept losing huge amounts of disk space from my hard driv

  • Cannot create ctxsys.context type index : ORA-29855 ORA-20000 DRG-11206 ...

    Hello everybody, I have from time to time to create Intermedia or Oracle text indexes in Oracle databes, most 10g ones. Today I did it in a Oracle 10g under Linux RHEL 5, with this few usual commands: 1) connect SYS/**** as SYSDBA; 2) CREATE TABLESPA

  • Satellite Pro A300-1NT - need Vista 64-Bit drivers

    Hello, I bought the notebook Toshiba Satellite A300-1NT which came with Windows Vista 32-Bit pre installed and an XP Recovery Disc. I bought the Vista 64-Bit Edition but I didn't find any drivers for Vista 64-bit on your website though it is 64-bit c