Local information from html code

I have built an application in which i required the web-sites which are exclusively built for us people.while retrieving the index/home page of web-sites some are in html, some are in jsp and some are in asp.
so i need a code exclusively in java to know which area those websites belong to.
can somebody there help me?
thank you

i already parsed the XML in the RSS...i've got informa ; the problem is the article itself
Take this article for example: [http://news.bbc.co.uk/2/hi/europe/7572635.stm] , you've got the article, but you've things all around it from link to different articles to headers, footers menus.
All of this affects the search results dramatically so i just want the article itself.
that's the greatest challenge.

Similar Messages

  • Alt. local curr. from company code AUTR is not maintained for prog RFUMSV20

    Hi,
    When running report S_ALR_87012377 getting error Alternative. Local currency from company code AUTR is not maintained for program RFUMSV20. We maintained all required settings.
    Can you please help me it is urgent.
    Thanks,
    Sridhar Reddy.G

    Is there an assignment for program RFUMSV00 and RFUMSV20 in the "Specify Alternative Local Currency for Sales/Purchase Tax Return" screen?
    Cheers.

  • Extract article from HTML code

    Hi,
    I'm trying to build a search engine for an RSS feed. Thing is i'm trying to store every article as a BLOB field in the database. To optimize my search i'll need to extract the article only and nothing else (no unrelated hyperlinks or html code)
    I'm using the HTMLEditoKit of swing to get the html content without the code, but that's not enough. I need to clean the page of things like headers and footers (they affect the search results)

    i already parsed the XML in the RSS...i've got informa ; the problem is the article itself
    Take this article for example: [http://news.bbc.co.uk/2/hi/europe/7572635.stm] , you've got the article, but you've things all around it from link to different articles to headers, footers menus.
    All of this affects the search results dramatically so i just want the article itself.
    that's the greatest challenge.

  • Create a string from HTML code

    Hello to all,
    What i have already create is a web browser integrate into a VI project and from this i can read some values like temperature or humidity. Also i have put a HTML window in order to take this values and to export to a string (for example to check these values from the browser and to be able to see in separate constat). Can you help how to do this with an example??
    Thanks in advance

    Below i have attached the code and the HTML code from the sensor. If you have to recommend anything it will be usefull for me. I have another problem now. If you see in the HTML code you will see that i have three different values to export(temperature, humidity and dewpoint) but all of them have the same regular expression in order to request in my code. Do you know how is it possible to solve this problem because always i take the same temperature value for three of them.
    Thanks in advance
    Attachments:
    TempHumid.vi ‏41 KB
    HTMLcode.jpg ‏68 KB

  • Parametre from html code

    Its my first week in applet so i was trying 2 take a parametre from the html code and then 2 take this parametre and put it as a color ex:
    <APPLET code="xxxx.class" width=200 height=200 >
    <param name ="name1" value="green"/>
    and then in the java code i need 2 set this parametre as a color ex:
    g.setColor(Color.?);
    ?= the color in the parametre name
    how can i do this ?

    The following snippet of code assumes that the permissible values
    for the applet parameter "name1" are hexadecimal RGB values.
    "0xFF0000" would be red.
    "0x00FF00" would be green.
    "0x0000FF" would be blue.
    String s;
    Color c;
    // get the applet paramter from the html file
    s = getParameter("name1");
    try
        int aR, aG, aB; // RGB-Values
        aR = Integer.valueOf(s.substring(2,4),16).intValue();
        aG = Integer.valueOf(s.substring(4,6),16).intValue();
        aB = Integer.valueOf(s.substring(6,8),16).intValue();
        c = new Color(aR, aG, aB);
    catch( Exception e )
        c = new Color(0x00, 0xFF, 0x00);
    g.setColor(c);

  • How to send information from HTML page to JSP without reloading HTML page?

    Hello,
    Is it possible to send information(row number selected by user) from HTML page to JSP without reloading HTML page?
    Thanks.
    Oleg.

    Yes, you can do this with framesets and a hidden frame.
    You need a bit of JavaScritp in the "visible" frame that
    sets the location of the hidden frame to the JSP.
    Add the user's choice as a parameter to the JSP URL.

  • How to read a local file from Applet Code

    Hi
    I am developing a application and i want to access a local file from the applet
    So pls help me in coding for this

    You can't do that, at least not with an unsigned applet.
    Sign your applet and it should work just like normal file access.

  • Send data from html to flash action script

    Hi,
    I would like my flash to act differently depending on what
    html page it is on. Can I send information from html code to action
    script?

    Hi,
    Yes you can, by using FLASHVARS. Refer the attached code for
    example. Also you can use Javascript setVariable method of Flash
    object to set values in between i.e. after the page has loaded, as
    in case of FLASHVARS these are sent to flash just at the begining
    i.e. once SWF loads. In the attached exmple i've sent 2 variables
    to Flash one is 'username' and other is 'userId', thse will be
    fetched inside flash movie as _root.username and _root.userId.
    Note: I've added flashvars as PARAM and also as an attribute
    for EMBED tag (used by Mozilla, NS etc)
    Hope this helps.
    Thanks,
    Sumeet

  • Generate a thumbnail from HTML by pure Java on Linux without Graphics

    hi - we in a requirement where we have to generate thumbnails from HTML code. The solution must be implemented in pure Java on Linux where there is no graphics support.
    Options tried already are :--
    1. 3rd party websites - rolled out by our client.
    2. Paid products - rolled out by our client
    3. Media Tracker and other java API - no luck as there is no support after HTML 4.0
    4. Using any os dependent native library - rolled out by our client.
    5. Lobo browser - but having troubles like it opens the browser before screenshot is taken, sometimes. Gone through by putting Thread.sleep() in between and saving remote images into a local html file etc. We got some success in there but problem doesn't end here.
    Questions -
    1. In the point # 5 above, our Linux server had graphics support but in code we set the system property java.awt.headless= true before capturing and generating thumbnail. My question is, if we set this property in the code then does it mean 100% that our code will not use any graphics support, if present in the underlying OS?
    2. Is this really possible to generate images in java on Linux where there is no X window/X server installed? Are we just wasting time in order to achieve which is unachievable?
    Any suggestions are most welcome.
    Regards,
    Sanjeev

    Thanks for ur response! Yeah - we tried but requirements are little different. We have HTML that we have to first render. Whatever output comes, we have to take a screenshot. So in order to render the html we have to have a browser first and I believe every OS which is providing browser support is having Graphics capabilities because browser would have frames, windows, toolbars, menubars etc which fall under Graphics.
    The above way is the only way that I know. If there are another way which ofcourse doesn't require graphics support, please let me know.
    So the question basically is - if I follow above mentioned image (like opening browser and capture screenshot) then is it possible on Linux with no graphics support? Actually I read on internet that lobo browser (written in java) supports this kind of feature.

  • How to passing value into Captivate from html?

    How to passing value into Captivate from html?
    Or
    How to communicate between objects in one slides?

    Hi czhao0378 and welcome to the forums!
    Captivate does not natively allow you to communicate your own
    data, either internally or externally. The only way to make this
    happen is to create your own functionality, either via custom-built
    Flash objects or JavaScript code executed in the browser or a
    combination of both.
    The only example I've seen of any "data passing" inside
    Captivate is a custom text input/output solution that was posted on
    the Captivate Developer Exchange:
    http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&loc=en_us&extid=1253 021
    This solution consists of an input box that takes information
    from the user on one slide and a second box that displays that
    information on another slide. The functionality was built in Flash
    and is embedded in Captivate as a Flash "animation". Unfortunately,
    since this is a custom functionality, the information is not
    included in the user completion results Captivate can pass to a
    Learning Management System.
    Since the solution mentioned above relies on a Flash
    Actionscript variable to hold the information that is displayed,
    you can also pass the information from HTML to Captivate using the
    "SetVariable" command in JavaScript. This would at least allow you
    to display your own HTML-based data inside Captivate.
    Beyond that, I'm not aware of any other way to gather and
    pass data in Captivate.

  • Trim filter for iPlanet - whitespace removing from html

    Hi,
    I've just published my Trim Filter NSAPI plugin for Sun One Web Server/iPlanet
    It is a plugin/filter which removes whitespaces from HTML code. Its LGPL and it can be found here: http://www.thrull.com/iplanet/
    Feel free to test it :-)
    BR,
    Igor

    Cool, thanks for sharing it!
    I took a quick look, and I think I spotted a bug in the write filter method:        /* workaround for a bug? in iPlanet, when returning empty content */
            if (!out_size && amount) {
                rv = net_write(layer->lower, NON_EMPTY_STRING, 1);
                out_size = 1;
            } else {
                rv = net_write(layer->lower, (const char *)buffer, out_size);
            return rv;According to the NSAPI Programmer's Guide (http://docs.sun.com/source/817-6252/npgnsapi.html#wp1004627), the write filter method should return the number of bytes consumed on success. It looks like your write filter method is returning the number of bytes written instead. Perhaps that's the reason you needed that work around?

  • Problem in copy and paste html code generated from google adsense

    tell me where can i paste the html code in mozila .
    I am having account in googlemadsense and whenever i try to copy and go to paste in html it dosent work.please reply me.

    Hi Thanks for reply,but my dear freind as I written in my previous mail also that I am having account in google adsense and as per the given instructions only,when i try to paste the html code,which was generated from their adsense adposting , i try to paste that code after opening the html sources box,that code was not accepted.The html source window was slightly blocked.
    And for your information i am not try to paste any other code from any otherwebsite like word press etc
    Waiting for your reply soon.
    Kavitha

  • IWeb routing back from html snippet code

    I have created my site in my local folder (sites/site). In the site I use a HTML snippet in which I pasted HTML code from JotForm in order to have a contact form. This worked fine. Then I published to web.me.com... and now every time I hit the submit button (HTML code) the routine runs perfect and an email is submitted to me but I don't come back to the site but get an error code: The requested URL /users/maartenlamers/sites/site/startpage.html was not found on this server. It seems that the routing pointer is set wrong... and I found no way of correcting this... Any suggestions are welcome...

    I believe that JotForm allows you to get your visitors to return to a page of your site do they not? If so, then to correct this you need to go back to JotForm and alter the settings there. You created the form there, so you need to make alterations there. It's not an iWeb issue - all you did was enter the code into an html snippet.
    Also, your url is not a correct url so of course it won't be found. Any url needs to start with http://web.me.com/users/maartenlamers/sites/site/startpage.html. If you leave out the web.me.com, then it won't find anything that is published because you have in fact missed out where the site is published, being web.me.com.
    Go back to JotForm and alter it there and then re-enter the code into an html snippet and you should find that it will work.

  • Need HTML code to call template from an existing web template

    Hi all,
    Can someone help me with a HTML code which can call another web template from a field of a table.
    I have a web template which includes table as web item.The template when executed displays the data of query view in the form of table.One of the field in the table is Europe.Now my requirement is when i click on that field Europe,it should open up another template which is present in the system.
    Please provide me with a HTML code which can do this.
    Regards,
    Suchitra

    Hi all,
    Can someone help me with a HTML code which can call another web template from a field of a table.
    I have a web template which includes table as web item.The template when executed displays the data of query view in the form of table.One of the field in the table is Europe.Now my requirement is when i click on that field Europe,it should open up another template which is present in the system.
    Please provide me with a HTML code which can do this.
    Regards,
    Suchitra

  • Problem when connecting locally to Oracle Database 10g from Java code

    Good afternoon,
    I try to connect to my local Oracle 10g from JAVA code. Could somebody tells me what are the 'values' to enter in place of 'value1, value2, value3' in the following:
    final String connectionURLThin = "jdbc:oracle:thin:@value1:value2:value3";
    I tried to put my 'user' and 'pw' credentials I used when connecting with SQL*PLUS:
    value1=my_user_name
    value2=my_pw
    value3=my_schema
    but it doest work. Besides where could have I to put the 'WORKSPACE" name?
    Thanks for any help.
    Claude
    Details:
    ERR MESSAGE----------------------
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/dms/instrument/ExecutionContextForJDBC
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:365)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:854)
    at java.sql.DriverManager.getConnection(DriverManager.java:620)
    at java.sql.DriverManager.getConnection(DriverManager.java:200)
    at javaapplication6.ConnectionExample.driverManager(ConnectionExample.java:138)
    at javaapplication6.Main.main(Main.java:36)
    Caused by: java.lang.ClassNotFoundException: oracle.dms.instrument.ExecutionContextForJDBC
    at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
    ... 8 more
    Java Result: 1
    BUILD SUCCESSFUL (total time: 0 seconds)
    ---------------------ERR MESSAGE
    JAVA code------------------it compiles but throw an error when running there -> (*)...
    final String driverClass = "oracle.jdbc.driver.OracleDriver";
    final String connectionURLThin = "jdbc:oracle:thin:@jeffreyh3:1521:CUSTDB";
    final String userID = "scott";
    final String userPassword = "tiger";
    final String queryString = "SELECT" +
    " user " +
    " , TO_CHAR(sysdate, 'DD-MON-YYYY HH24:MI:SS') " +
    "FROM dual";
    public void driverManager() {
    Connection con = null;
    Statement stmt = null;
    ResultSet rset = null;
    try {
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    con = DriverManager.getConnection(connectionURLThin, userID, userPassword); // (*) prob here
    stmt = con.createStatement ();
    rset = stmt.executeQuery(queryString);
    rset.close();
    stmt.close();
    } catch (SQLException e) {e.printStackTrace();
    --------------------JAVA JDK 1.6
    My system ------------------------
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production

    Yes, the network connection could not be established. Like the error said.
    What you're asking about is the exact reason, but that could be any number of things and not at all related to code. You could have the wrong host, the wrong port. A firewall could be blocking the outgoing connection, a firewall could be blocking the incoming connection. Etc. etc.

Maybe you are looking for

  • I have an ipad2 and an iPad Air. I want to give the 2 to my mom. I don't her to have access to my information. We will be sharing the wifi. How do I set up separately?

    I have an ipad 2 and an iPad Air.  I want to give the ipad 2 to my mom, but do not want any of my information on it. Right now it is synced to my MacBook and my iPad Air.  We live together and will be sharing the same wifi. Please help. She is 97 and

  • Cmd+tab not functioning correctly

    CMD+Tab to switch windows works correctly when i am trying to switch windows within the same desktop space. However, it does nothing when i choose an application window running in a different desktop space. I am on the latest update 10.10.3 Everythin

  • LCD Touchscreen Question

    Hello, I have a 42" LCD Touchscreen (from Panelworx) with a integrated CPU that connects to the screen via HDMI. I am running a Flash Projector file in 100%, Fullscreen mode, developed using AS2, CS3. The problem/question is when we shut the monitor

  • Possibility for independent RMI-Communication

    Hi, I�m looking for a solution to keep my Client independent from my Server. In the moment, my Client is getting GUI-components from several Servers. These GUI-components inherit information to talk to the their server. For example, a change in the G

  • Query for rows as columns

    Hi, i have one table temp1: select * from temp, it's display: id name add 1 xx xx1 2 yy yy1 3 zz zz1 But i want display like this: 1 2 3 xx yy zz xx1 yy1 zz1 Help me on this.....