JavaHelp to point to specific HTML Page
Hi,
Does anybody know how to display JavaHelp to point to a specific HTML page??? i.e when my JavaHelp opens, i want to display a component specific JavaHelp or rather a specific HTML page
Help needed urgently on this
Thanks
kavita
Hello,
From your GUI, you need to request a topic ID; let's call this "optionsHelp". Then create a map file, which uses XML syntax, and link the help page to the topic ID with something like this:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE map PUBLIC
"-//Sun Microsystems Inc.//DTD JavaHelp Map Version 1.0//EN"
"http://java.sun.com/products/javahelp/map_1_0.dtd">
<map version="1.0">
<mapid target="optionsHelp" url="help/options.html"/>
</map>
Note that this is separate from the helpset file. I believe you use HelpBroker.enableHelpOnButton(Component, mapID, helpSet) to setup the help action for a button. [All this info was taken from the .pdf JavaHelp spec and whitepaper]
Hope you get it to work!
Similar Messages
-
How link from html page to a specific frame in flash cs5 as3
Hi!
I'm kinda new around here. I am interested in knowing how to link from a specific html page to a specific frame in flash cs5 as3.
I have a website that I originally began to design in flash but later started developing new pages for it in html. The flash part of it has several pages on different frames and I have created links from the flash part to the other html pages, but, I can only link the html pages back to the main flash home page, and not the other pages in the flash part of the website.
I have read that in cs3 it was possible using the flashvars skip variable, but I don't know how to do it. I have not yet seen any working examples and I could not find any instructions / tutorials online for cs5.
Can someone help here?add a query string, to the swf's embedding html, with variable/value indicating the frame you want to display in your swf. add a javascript function to return the query string (or entire url), call the javascript function from flash using the externalinterface class. and finally add code to your swf to parse the returned url or query string, parse it and then direct your timeline to the appropriate frame.
-
HTML page with anchored Layers
Is there a way to anchor a layer to a specific point on a
HTML page?
I have designed my page in Photoshop and have saved it as a
HTML with images. I then opened it in Dreamweaver and alligned my
designed page centre so that it is always center to the opened
explorer window. The problem I am having is that I want to place my
text layers in the document and have them anchor or stay to the
exact spot i placed them on the page i designed and now have opened
in Dreamweaver. When i test it or open it up in the explorer page
the text layer shifts differently than the the designed page i
created in photoshop. I would like them to move together at the
same rate.
How can I make this work.... I have tried everything that i
could think of.
Please help me... I need it!
Thanks> Please help me... I need it!
The answer that you do not want to hear is - spend some time
learning HTML
and CSS if you want to do things like this. It's true. DW
will expect this
knowledge on your part. Without it you will encounter
continuous mysteries
in your pages.
> I have designed my page in Photoshop and have saved it
as a HTML with
> images.
This is the wrong way to start. Here's a better plan....
http://apptools.com/examples/pagelayout101.php
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Noreago1979" <[email protected]> wrote in
message
news:g1vhsa$lg6$[email protected]..
> Is there a way to anchor a layer to a specific point on
a HTML page?
>
> I have designed my page in Photoshop and have saved it
as a HTML with
> images.
> I then opened it in Dreamweaver and alligned my designed
page centre so
> that it
> is always center to the opened explorer window. The
problem I am having is
> that
> I want to place my text layers in the document and have
them anchor or
> stay to
> the exact spot i placed them on the page i designed and
now have opened in
> Dreamweaver. When i test it or open it up in the
explorer page the text
> layer
> shifts differently than the the designed page i created
in photoshop. I
> would
> like them to move together at the same rate.
>
> How can I make this work.... I have tried everything
that i could think
> of.
>
> Please help me... I need it!
>
> Thanks
> -
Build html page with database images
Hello,
I have to build html pages in jsp that display images (JPEG, GIF) who are stored in database BLOB fields.
Is anybody have sample to do this ?
Thanks> Please help me... I need it!
The answer that you do not want to hear is - spend some time
learning HTML
and CSS if you want to do things like this. It's true. DW
will expect this
knowledge on your part. Without it you will encounter
continuous mysteries
in your pages.
> I have designed my page in Photoshop and have saved it
as a HTML with
> images.
This is the wrong way to start. Here's a better plan....
http://apptools.com/examples/pagelayout101.php
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Noreago1979" <[email protected]> wrote in
message
news:g1vhsa$lg6$[email protected]..
> Is there a way to anchor a layer to a specific point on
a HTML page?
>
> I have designed my page in Photoshop and have saved it
as a HTML with
> images.
> I then opened it in Dreamweaver and alligned my designed
page centre so
> that it
> is always center to the opened explorer window. The
problem I am having is
> that
> I want to place my text layers in the document and have
them anchor or
> stay to
> the exact spot i placed them on the page i designed and
now have opened in
> Dreamweaver. When i test it or open it up in the
explorer page the text
> layer
> shifts differently than the the designed page i created
in photoshop. I
> would
> like them to move together at the same rate.
>
> How can I make this work.... I have tried everything
that i could think
> of.
>
> Please help me... I need it!
>
> Thanks
> -
Linking to a point on the timeline from a separate html page
Hi,
I'm using Edge Animate 1.0 in windows Vista.
I want to link from an html page to within a point (label) on the timeline. What code would I need to put on the button?
Johnworked a few months on an js file, to make this kind of stuff alot easyer for beginners and a timesaver for an experts (simplify and less coding for edge animate)
will be released over a few days -
Convert english html pages to arabic
Hi ALL
How to convert english html pages to arabic.Is there any specific way to do this.
My idea is to
a)convert the static contents(english sentences) to arabic by typing in any text editor(save as html/jsp/....)
call the appropraite page depends on language.
b)Change the corresponding gif in arabic where ever needed
c)The dynamic contents(some data which may come from database) is converted by entering appropriate arabic characters in database.
4)Where ever there is few word changes(eg description,label etc) planning to put that in a properties file
with appropraite arabic characters.
Will the above points make sense.Or is there a specific or better way of doing this.
User will be opting english or arabic thro a link from website.
Can anybody help me on this. Thanks in advance SarathHere are a few resources that might help:
http://developer.java.sun.com/developer/technicalArticles/Intl/MultilingualJSP/
http://www.sun.com/developers/gadc/technicalpublications/articles/iws6.html
http://www.sun.com/developers/gadc/technicalpublications/articles/apache.html
Hope this helps,
John O'Conner -
Error while invoking BPEL Process through HTML Page
Hi ,
I have created a HTML Page to invoke BPEL synchronous process .
HTML Page contains :
<html>
<head>
<title>Untitled Document</title>
<h1>Add Macro Task Input Form </h1>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="cyan" text="#000000">
<form name="form1" method="get" action="/httpbinding/default/AddMacroSync/process">
EmployeeId :
<input type="text" name="EmployeeId" ><br>
<br>
TaskName :
<input type="text" name="MacroTaskName" >
<button
id="identifier"
class="dialog"
label="OK"
accesskey="t"/>
<br>
</form>
</body>
</html>
I am able to invoke my BPEL Process named as " AddMacroSync" .
It also creating instance for this BPEL Process .
But when I go BPEL Console and check my instance , it is always faulted .
I am providing two inputs : Employee Id and Taskname through HTML Page .
These inputs got assigned to their respective output variables .
But when I click on audit link ..it shows error while invoking the Process .
It Show error :
when invoking endpointAddress 'http://152.69.248.232:8990/AddMacroTask-AddMacroTask-context-root/AddMacroTaskWebService', [java.lang.NumberFormatException]
But this end point address is working when I put this address in URL .
Please someone help me how to solve this problem .
Thanks
Prashant Dwivedi
Message was edited by:
Prashant DwivediHi Clemens ,
I changed My HTML ...Now it looks like as :
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="application/x-www-form-urlencoded; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<form name="form1" method="post" action="/httpbinding/default/AddMacroSync">
<input type="hidden" name="msg_part" value="payload">
<input type="hidden" name="namespace" value="http://xmlns.oracle.com/AddMacroSync">
EmployeeId:
<input type="text" name="EmployeeId">
TaskName :
<input type="text" name="TaskName">
<input type="submit" name="Submit" value="Submit">
</form>
</body>
</html>
After this when I try to incoke my BPEL Process through this HTML :
I am gettign following error :
500 Internal Server Error
java.lang.IllegalStateException: IOException: Premature end of POST data
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.EvermindHttpServletRequest.getParameter(EvermindHttpServletRequest.java:2452)
at com.collaxa.cube.ws.http.HttpBindingServlet.checkSecurity(HttpBindingServlet.java:281)
at com.collaxa.cube.ws.http.HttpBindingServlet.doPost(HttpBindingServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534) -
* You changed the page that comes up after a crash - the one which shows the windows and pages that were up before the
crash.
This used to be a real HTML page and it isn't any more. THis choice was pure isiocy consider how peopel used that page every day (try taking to your users for a change).
The pages listed on that 'post crash page' used to be actual LINKS (you could right click them &
manually open them in another tab - and most peope DID that every day). You could also (and I did this a lot) drag a second
copy of the page, into a new tab (to keep track of all the pages I had not wanted to open)
Now the pages are no longer links. You cannot right-click them.
The thing in the probser is no longer a page that I can drag into a new tab.
Roll the version back and throw this one in the bin...and have a good long talk with your developers about the definition of
'STUPIDITIY'
Then I try to type anything in the addres bar it is suppose to repoond with the history of old things I have types in the past, or
search for what I type (and in some cases I think it tyes to convert it intoa URL). However it no longer does any of these
things. When I type in the ADDRESS BAR ONLY, I do not get all of my letters to appear. I have to type into a notepad or
into the search and to copy and paste to go to a URL. Nothing that is typed into the address bad responds normally at all
anymore, and I am fairly certain there are no new addons on this machine at all. It does not matter which things I disable. It
still does this. W of course points the finger back at a change to FIREFOX. I wich I could just sitct with one stable release
forever but the MOZILLA folk thing it is best to force peopel awy from a working broswer release to a horrible one (due to it
being out of date).
FIREFOX 26.0 has 'issues' (ie new *features*/bugs)
1) History is no longer accurate. My Proof? This machine is the primary one for the entire family (the only PC working). It is
logged in with same user every time and never has its history cleared. It now January 7 so I ought to have a list of all of last
months browing available to me.
However, according to FIREFOX history, in all of December 2013, the entire family only went to 51 primary URL's. None of
the official TV sites I use to get episodes are listed. None of the official movie sites I use are listed. The primary URL for
ebay is not listed. Only 1 out of our 4 weather sites that I use (at least once a week) are listed. Only 1 of our 3 FINANCE
sites is listed. There ought to be several; hundred root URLs listed.
Please fix history as this change seriously "blows greasy chunks"
PROBLEM (a stupid change in the new FIREFOX version)
FOr a long time, after a crash you got a useful page (a real HTML page) which gave you a list of all of your last sessions
'winwos and tabs' that were open when the browser crashed. there were certain ways of using this page that are no longer
able to be done.
The old method was wonderful as it had this behavior :
*** The old method for displaying your 'Recovered Tabs' allowed you to :
a) right click an individual item and open it in a tab without getting rid of that lovely window of your previous session of
'recovered windows and tabs '.
2) drag the URL for the entire window of 'recovered windows and tabs ' to a new tab (to make a second copy) so that you
could select just a few of them to open as a group, and stil have the old list handy.
You can no longer do either of these things. The 'recovered windows and tabs ' page no longer has links in it and can no longer be dragged, so you cant select a few of them to use, and keep the rest around for later. NOW - once you choose which pages to open the window is gone forever (can can't get a second copy).
People used to make a copy of the page for later use (with a drag)
we also used to open pages with a right click (which no longer functions
This new method seriously blows big greasy chunks. A parge loss in function has occurred.
Put things back as they were. 26 is full of terrible changes that NOBODY likes. It also has a lot of bugs (history is not reliable at all)(1) Firefox's built-in post-crash page has not been a real HTML page for a long time (for example, from the time of Firefox 22, see: [https://support.mozilla.org/en-US/questions/968212 Want to save LOTS of versions of "Restore Session.xht" from the "oops ..." page for later use]). If you had this working differently with Firefox 25, that might have been created by an extension.
You can check to see whether extensions are disabled or need an update on the Add-ons page. Either:
* Ctrl+Shift+a
* orange Firefox button (or Tools menu) > Add-ons
In the left column, click Extensions. The disabled extensions cluster toward the bottom of the list. To poll for updates, use the "gear" button above the list and choose Check for Updates.
If you used the Reset feature (or Firefox automatically did a reset due to some problem during upgrading), you will need to reinstall missing extensions. The reset feature creates a folder on the desktop named Old Firefox Data. Do you have that folder? There may be data you can recover from it.
(2) There are many ways for history to get cleared, both internal to Firefox and external. Could you double-check your Privacy settings?
orange Firefox button (or Tools menu) > Options > Privacy
* The "Firefox will" drop-down says Remember History: Firefox shouldn't be clearing history, but an add-on or external software could do it
* The "Firefox will" drop-down says Use custom settings for history: inspect the "Clear history when Firefox closes" setting to make Firefox isn't set to clear history. Also check your add-ons and consider external software.
Firefox normally accumulates months of history. However, some of Firefox's database sizes are based on disk space available. If your hard drive is very full, Firefox might reduce the amount of history stored. -
Hey Guys,
I was wondering if anyone knows how I could include the behavior that the "Page Path" Item provides, but I would like to do it in an HTML Pageskin. Seems like this would be fairly common for those people using page skins.
Thanks
-seanHi,
I insist : it is not possible with HTML to insert Page breaks. BUT, Tammie is right! You can use CSS (Cascade Style Sheet) to insert page breaks thanks to few lines of code in your HTML page.
Follow this link to have a look at a very simple piece of code to illustrate this :
http://www.codeave.com/css/code.asp?u_log=4016
Here it the code if you don't have access to this URL :
<html>
<head>
<title>CodeAve.com/CSS - Page Break</title>
<body bgcolor="#FFFFFF">
<center>
Page 1
<br style="page-break-before:always;">
Page 2
<br style="page-break-after:always;">
Page 3
<p>
Use print preview on your browser to see how<br>
this page would print out to three pages
</center>
</body>
</html>
Hope it helps.
Don't forget to close the post if solved (so that search in the forum is easier), and reward points (so that SDN members are happy !) -
Vs 2013 community screws up formatting of html page when saving file
I have seen other people having this issue with suggestions like 'Formatting and visualizations, tag specific options. However this is not solving my issue
example
I type the following code this way
<asp:Panel ID="Panel1" runat="server">
<asp:Label ID="Label1" runat="server" Text="Days Old " />
</asp:Panel>
<asp:Panel ID="Panel2" runat="server">
<asp:Label ID="Label2" runat="server" Text="Days Old " />
</asp:Panel>
then when I hit save the code changes to
<asp:Panel ID="Panel1" runat="server">
<asp:Label ID="Label1" runat="server" Text="Days Old " />
</asp:Panel><asp:Panel ID="Panel2" runat="server">
<asp:Label ID="Label2" runat="server" Text="Days Old " />
</asp:Panel>
This messes with the outlining and makes it hard to see where controls like Panel2 is in the code.
I am using a fresh install of visual studio community 2013 on a fresh install of windows 8.1 so this is not an issue with my istallation.
I have tried setting tag Specific options with no change
It doesn't do this every time or just on asp:panels
I have tried adding line breaks and spaces etc. this doesn't help either.
is this just a bug in visual studio or is there a general setting out of wack. I didn't have this problem with vs express for web 2012. but I did have it with vs express for web 2013 and community 2013Hi PBPuddin,
Thank you for posting in MSDN forum.
Based on your issue, I tried to add this code as you said into a html page and then I saved the code. I found that the code formatting of the html page did not occur like you said that in VS2013 Community.
So to check if this issue is related to the VS2013 Community IDE, I suggest you could try to copy the same version of the VS2013 Community setup file on other machine and then install it check this issue again.
(1) If you still get the issue, I assume that the issue maybe related to this VS2013 Community setup file, so please download it from Microsoft official website and then install it again.
https://www.visualstudio.com/en-us/news/vs2013-community-vs.aspx
(2) If you did not get same issue, I suggest you could try the following suggestion to check the issue.
(2.1) please try to open your VS in safe mode and then check if you install some add-ins in the VS IDE.
https://msdn.microsoft.com/en-us/library/ms241278.aspx?f=255&MSPPError=-2147217396
Or you could try to check if you install some third-party tool/ software on your machine.
Hope it help you!
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Open a html page from an applet
Hi,
I would like to open, from an applet, an HTML page in a new window with a specific width an eight.
Who can help me ?Here is an example of applet to javascript with liveconnect:
http://www.narhari.com/java/applet2javascript/
You can use the send(String) method from the sample applet to send something like:
window.open('xyz.html','myPopup','width=200,height=200');in order to open a window with specific dimensions
of course you can also build HTML in your applet and use send() + some javascript to render it. -
How ias integrate with Snacktory for getting main text from an html page
Hi All,
i am new to endeca and ias, i have an requirement, need to get main text from whole html page before ias save text to Endeca_Document_Text property,
as ias save all text in page to endeca_document_text property, it is not ok for reading when show in web page, i use an third party API to filter out the main text from original page,
now i want to save these text to endeca_document_text property,
an another question,
i get zero page when doing the logic of filtering main text from original html text in ParseFilter( HTMLMetatagFilter implements ParseFilter) using Snacktory.
if only do little things, it will work fine, if do more thing, clawer fail to crawl page. any one know how to fix it.
log for clawler.
Successfully set recordstore configuration.
INFO 2013-09-03 00:56:42,743 0 com.endeca.eidi.web.Main [main] Reading seed URLs from: /home/oracle/oracle/endeca/IAS/3.0.0/sample/myfirstcrawl/conf/endeca.lst
INFO 2013-09-03 00:56:42,744 1 com.endeca.eidi.web.Main [main] Seed URLs: [http://www.liferay.com/community/forums/-/message_boards/category/]
INFO 2013-09-03 00:56:43,497 754 com.endeca.eidi.web.db.CrawlDbFactory [main] Initialized crawldb: com.endeca.eidi.web.db.BufferedDerbyCrawlDb
INFO 2013-09-03 00:56:43,498 755 com.endeca.eidi.web.Crawler [main] Using executor settings: numThreads = 100, maxThreadsPerHost=1
INFO 2013-09-03 00:56:44,163 1420 com.endeca.eidi.web.Crawler [main] Fetching seed URLs.
INFO 2013-09-03 00:56:46,519 3776 com.endeca.eidi.web.parse.HTMLMetatagFilter [pool-1-thread-1] come into EndecaHtmlParser getParse
INFO 2013-09-03 00:56:46,519 3776 com.endeca.eidi.web.parse.HTMLMetatagFilter [pool-1-thread-1] come into HTMLMetatagFilter
INFO 2013-09-03 00:56:46,519 3776 com.endeca.eidi.web.parse.HTMLMetatagFilter [pool-1-thread-1] meta tag viewport ==minimum-scale=1.0, width=device-width
INFO 2013-09-03 00:56:52,889 10146 com.endeca.eidi.web.parse.HTMLMetatagFilter [pool-1-thread-1] come into EndecaHtmlParser getParse
INFO 2013-09-03 00:56:52,889 10146 com.endeca.eidi.web.parse.HTMLMetatagFilter [pool-1-thread-1] come into HTMLMetatagFilter
INFO 2013-09-03 00:56:52,890 10147 com.endeca.eidi.web.parse.HTMLMetatagFilter [pool-1-thread-1] meta tag viewport ==minimum-scale=1.0, width=device-width
INFO 2013-09-03 00:56:59,184 16441 com.endeca.eidi.web.parse.HTMLMetatagFilter [pool-1-thread-2] come into EndecaHtmlParser getParse
INFO 2013-09-03 00:56:59,185 16442 com.endeca.eidi.web.parse.HTMLMetatagFilter [pool-1-thread-2] come into HTMLMetatagFilter
INFO 2013-09-03 00:56:59,185 16442 com.endeca.eidi.web.parse.HTMLMetatagFilter [pool-1-thread-2] meta tag viewport ==minimum-scale=1.0, width=device-width
INFO 2013-09-03 00:57:07,057 24314 com.endeca.eidi.web.parse.HTMLMetatagFilter [pool-1-thread-2] come into EndecaHtmlParser getParse
INFO 2013-09-03 00:57:07,057 24314 com.endeca.eidi.web.parse.HTMLMetatagFilter [pool-1-thread-2] come into HTMLMetatagFilter
INFO 2013-09-03 00:57:07,057 24314 com.endeca.eidi.web.parse.HTMLMetatagFilter [pool-1-thread-2] meta tag viewport ==minimum-scale=1.0, width=device-width
INFO 2013-09-03 00:57:07,058 24315 com.endeca.eidi.web.Crawler [main] Seeds complete.
INFO 2013-09-03 00:57:07,090 24347 com.endeca.eidi.web.Crawler [main] Starting crawler shut down
INFO 2013-09-03 00:57:07,095 24352 com.endeca.eidi.web.Crawler [main] Waiting for running threads to complete
INFO 2013-09-03 00:57:07,095 24352 com.endeca.eidi.web.Crawler [main] Progress: Level: Cumulative crawl summary (level)
INFO 2013-09-03 00:57:07,095 24352 com.endeca.eidi.web.Crawler [main] host-summary: www.liferay.com to depth 1
host depth completed total blocks
www.liferay.com 0 0 1 1
www.liferay.com 1 0 0 0
www.liferay.com all 0 1 1
INFO 2013-09-03 00:57:07,096 24353 com.endeca.eidi.web.Crawler [main] host-summary: total crawled: 0 completed. 1 total.
INFO 2013-09-03 00:57:07,096 24353 com.endeca.eidi.web.Crawler [main] Shutting down CrawlDb
INFO 2013-09-03 00:57:07,160 24417 com.endeca.eidi.web.Crawler [main] Progress: Host: Cumulative crawl summary (host)
INFO 2013-09-03 00:57:07,162 24419 com.endeca.eidi.web.Crawler [main] Host: www.liferay.com: 0 fetched. 0.0 mB. 0 records. 0 redirected. 4 retried. 0 gone. 0 filtered.
INFO 2013-09-03 00:57:07,162 24419 com.endeca.eidi.web.Crawler [main] Progress: Perf: All (cumulative) 23.6s. 0.0 Pages/s. 0.0 kB/s. 0 fetched. 0.0 mB. 0 records. 0 redirected. 4 retried. 0 gone. 0 filtered.
INFO 2013-09-03 00:57:07,162 24419 com.endeca.eidi.web.Crawler [main] Crawl complete.
~/oracle/endeca
-======================================
source code for parsefilter
package com.endeca.eidi.web.parse;
import java.util.Map;
import java.util.Properties;
import org.apache.hadoop.conf.Configuration;
import org.apache.log4j.Logger;
import org.apache.nutch.metadata.Metadata;
import org.apache.nutch.parse.HTMLMetaTags;
import org.apache.nutch.parse.Parse;
import org.apache.nutch.parse.ParseData;
import org.apache.nutch.parse.ParseFilter;
import org.apache.nutch.protocol.Content;
import de.jetwick.snacktory.ArticleTextExtractor;
import de.jetwick.snacktory.JResult;
public class HTMLMetatagFilter implements ParseFilter {
public static String METATAG_PROPERTY_NAME_PREFIX = "Endeca.Document.HTML.MetaTag.";
public static String CONTENT_TYPE = "text/html";
private static final Logger logger = Logger.getLogger(HTMLMetatagFilter.class);
public Parse filter(Content content, Parse parse) throws Exception {
logger.info("come into EndecaHtmlParser getParse");
logger.info("come into HTMLMetatagFilter");
//update the content with the main text in html page
//content.setContent(HtmlExtractor.extractMainContent(content));
parse.getData().getParseMeta().add("FILTER-HTMLMETATAG", "ACTIVE");
ParseData parseData = parse.getData();
if (parseData == null) return parse;
extractText(content, parse);
logger.info("update the content with the main text content");
return parse;
private void extractText(Content content, Parse parse){
try {
ParseData parseData = parse.getData();
if (parseData == null) return;
Metadata md = parseData.getParseMeta();
ArticleTextExtractor extractor = new ArticleTextExtractor();
String sourceHtml = new String(content.getContent());
JResult res = extractor.extractContent(sourceHtml);
String text = res.getText();
md.set("Endeca_Document_Text", text);
} catch (Exception e) {
// TODO: handle exception
public static void log(String msg){
System.out.println(msg);
public Configuration getConf() {
return null;
public void setConf(Configuration conf) {but it only extracts URLs from <A> (anchor) tags. I want to be able to extract URLs from <MAP> tags as wellGee, do you think you could modify the code to check for "Map" attributes as well.
Can someone maybe point a page containing info on the HTML toolkit for me?It's called the API. Since you are using the HTMLEditorKit and an ElementIterator and an AttributeSet, I would start there.
There is no such API that says "get me all the links", so you have to do a little work on your own.
Maybe you could use a ParserCallback and every time you get a new tag you check for the "href" attribute. -
How do I add to the HTML page containing an fla?
Hi,
My site has Flash Video that plays back in a Flash movie
file.
I want to put html text on the html page containing the Flash
movie so that if a viewer doesn't have Flash, they can see a plain
text link that sends them to a page with a Windows Media Player.
When I attempt to add text to the html page containing the
Flash movie, the text doesn't appear and my page changes background
color.
Where in the source code should I be adding my html text?
Please indicate the insertion point below.
Source code below or visit
http://www.ocatillopictures.com/OcatilloFrames/Animation.html
Thanks
<html xmlns="
http://www.w3.org/1999/xhtml"
xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>Janos-FlashPlayer</title>
<script language="javascript">AC_FL_RunContent =
0;</script>
<script src="AC_RunActiveContent.js"
language="javascript"></script>
</head>
<body bgcolor="#100068">
<!--url's used in the movie-->
<!--text used in the movie-->
<!--
<p align="center"><font face="Wingdings 3" size="16"
color="#80dbf9" letterSpacing="0.000000" kerning="1"><a
href="
http://www.ocatillopictures.com/FinalPages/Animation.html#Janos
Video Anchor" target =
"_self"><b>t</b></a><font
face="Arial"><a href="
http://www.ocatillopictures.com/FinalPages/Animation.html#Janos
Video Anchor" target = "_self"><b>Return to
Menu</b></a></font></font></p>
<p align="center"><font face="Arial" size="16"
color="#80dbf9" letterSpacing="0.000000" kerning="1"><a
href="
http://www.ocatillopictures.com/movie-pg/Janos-movie.html"
target = "_self"><b>View Windows
Media</b></a><font face="Wingdings 3"><a
href="
http://www.ocatillopictures.com/movie-pg/Janos-movie.html"
target = "_self"><b>u</b></a><font
face="Arial"><b>
</b></font></font></font></p>
-->
<!-- saved from url=(0013)about:internet -->
<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js.");
} else {
AC_FL_RunContent(
'codebase', '
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
'width', '700',
'height', '500',
'src', 'Janos-FlashPlayer',
'quality', 'high',
'pluginspage', '
http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'Janos-FlashPlayer',
'bgcolor', '#100068',
'name', 'Janos-FlashPlayer',
'menu', 'true',
'allowFullScreen', 'false',
'allowScriptAccess','sameDomain',
'movie', 'Janos-FlashPlayer',
'salign', ''
); //end AC code
</script>
<noscript>
<object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0"
width="700" height="500" id="Janos-FlashPlayer" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="Janos-FlashPlayer.swf"
/><param name="quality" value="high" /><param
name="bgcolor" value="#100068" /> <embed
src="Janos-FlashPlayer.swf" quality="high" bgcolor="#100068"
width="700" height="500" name="Janos-FlashPlayer" align="middle"
allowScriptAccess="sameDomain" allowFullScreen="false"
type="application/x-shockwave-flash" pluginspage="
http://www.macromedia.com/go/getflashplayer"
/>
</object>
</noscript>
</body>
</html>You have the text commented out. Remove the "<!--" before
your text and the "-->" after the text and it will show. -
How do I publish an existing HTML page?
Hello,
This might sound a bit basic...possibly because I am not that smart...
I have an NT file system - with in it there is an HTML page with icons and other html pages that are linked (relative links). There are other .html pages and images needed in this area.
I have set up a community and want to point to the existing HTML page on that file system - so when a client goes to that community, that HTML page opens up automatically in a portlet.
The path if Q:\Public\Health\Mainpage.html
I want mainpage.html to open up with the Health Community is selected.
So I made the community, and community page. The was going to place a publisher portlet on it - but do not want the clients to se e a blank page with a portlet linking to Q:\Public\Health\Mainpage.html, but instead see Mainpage.html.
What is the best way of doing this - set up a web service? If so - which one?
Suggestions for a pre-exisiting website residing on a file system?
Thanks,
V
Computers are like Old Testament gods; lots of rules and no mercy. ~Joseph Campbell
Edited by vivekvp at 05/07/2008 10:19 AMI would serve up the documents with IIS or Apache and create a standard web service remote portlet to the document.
Another option is to copy and paste the contents of the document into a content item with a long text property. Then use a presentation template which just emits the html from the content item.
Create a published content portlet for that content item. The good part is that you can edit the document in the portal. The downside is that if someone edits the mainpage.html on the q drive, you will have to copy their changes back into the content item. -
How do I get a button in Flash point to a https page of PagSeguro.
How do I get a button in Flash point to a https page of PagSeguro. Programming they provide is this:
<!-- INICIO FORMULARIO BOTAO PAGSEGURO -->
<form target="pagseguro" action="https://pagseguro.uol.com.br/checkout/v2/cart.html?action=add" method="post">
<!-- NÃO EDITE OS COMANDOS DAS LINHAS ABAIXO -->
<input type="hidden" name="itemCode" value="AC0DD53E5757C9F774629F9937513499" />
<input type="image" src="https://p.simg.uol.com.br/out/pagseguro/i/botoes/pagamentos/120x53-comprar.gif" name="submit" alt="Pague com PagSeguro - é rápido, grátis e seguro!" />
</form>
<!-- FINAL FORMULARIO BOTAO PAGSEGURO -->
If I past this programation in start HTML, I see border white in my page.
I wrote a book and this schedule is to send to a secure site for sale
I development my site in Flash 4 and now CC6. Export in Html
www.escalasdecores.com.brExcuse me for my ignorance.
I put the schedule as show below and generates an error when I export
Scene 1, Layer 'Actions', Frame 350, Line 119, column 11 in 1061: Calling a possibly undefined method send through a reference with static type flash.net: URLLoader.
Which is in line urlLoader.send (urlRequest);
I used Snippets
This programation:
/* Evento de clique de mouse
Clicar na instância do símbolo especificada executa uma função na qual você pode acrescentar seu próprio código personalizado.
Instruções:
1. Acrescente seu código personalizado em uma nova linha depois da linha que diz "//Iniciar seu código personalizado" abaixo.
O código será executado quando se clica na instância do símbolo.
button_7.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler);
function fl_MouseClickHandler(event:MouseEvent):void
// Iniciar seu código personalizado
var urlLoader:URLLoader=new URLLoader();
var urlRequest:URLRequest=new URLRequest("https://pagseguro.uol.com.br/checkout/v2/cart.html?action=add");
var urlVariables:URLVariables=new URLVariables();
urlVariables.itemCode="AC0DD53E5757C9F774629F9937513499";
urlRequest.data=urlVariables;
urlRequest.method=URLRequestMethod.POST
urlLoader.dataFormat = URLLoaderDataFormat.VARIABLES;
urlLoader.send(urlRequest);
// Este exemplo exibe as palavras "Mouse clicado" no painel Saída.
trace("Mouse clicado")
// Encerrar seu código personalizado
Maybe you are looking for
-
Final cut pro not exporting my movie
My movie that I worked hard for is not exporting when I click export movie or when I try to upload it to Youtube I get an error please help me
-
_tmp files in windows environment
Hi I am having some problem with these ._tmp.jpg files that my mac generates while i am working in Photoshop with JPG files. Mac saves another small temp file when i save it to the network /windows/ i have to run a batch on windows platform, but the
-
My phone number shows up private?!
I've had my iPhone 5c for a month now and people keep telling me that my number shows up private. Why is that? I looked under the settings over and over for a switch that got turned off but I can't find anything . This is my very first iPhone and I h
-
Could someone please help me out. I am trying to fix this bug with: SDK 4.0.0.5: CM.jar Is Not Copied into the Package To Be Deployed [ID 1315169.1] And according to Oracle support I need to: Solution In SDK version 4.0.0, the cm.jar gets copied only
-
STB QIP2500-3 audio output level
There is a noticeable difference between the audio output level (loudness) of the RF (ch3/4) and the baseband (L/R stereo) on the STB QIP2500-3. The RF is louder than the baseband. Is there any way to increase the output level of the baseband L/R ste