It was a simple example that was in the taglib distribution.
Here it is ::
<%@ taglib uri="http://jakarta.apache.org/taglibs/scrape-1.0"; prefix=
"scrp" %>
Example JSP using scrape taglib
http://weather.noaa.gov/cgi-bin/fmtbltn
On 12/22/05, Shiby Maria John <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have been trying to use the scrape taglib for my application.
> BUt nothing comes in the output page.
>
> What may be the reason for this??
>
We will probably need some more details. If you can pos
Hi,
I have been trying to use the scrape taglib for my application.
BUt nothing comes in the output page.
What may be the reason for this??
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
I've just started looking at the Scrape taglib for a project I'm working
on and I have a couple of issues that I could use some help resolving.
1. Can I re-use ids? If I change the search pattern within a tag, the
taglib complains that the id already exists. F
That works perfectly!! Thank you so much!!
-Original Message-
From: Kris Schneider [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 16, 2003 12:40 PM
To: Tag Libraries Users List
Subject: RE: Pass scrape taglib to a method (revisited)
Try:
<%= teststring %>
Quoting &q
a method that someone else wrote
>
> I'm just getting started with these taglibs and appreciate any help that
> anyone can give.
> Thank you,
> Karen
>
> -Original Message-
> From: Hassan Schroeder [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 29, 2003
age-
From: Hassan Schroeder [mailto:[EMAIL PROTECTED]
Sent: Friday, August 29, 2003 5:00 PM
To: Tag Libraries Users List
Subject: Re: Pass scrape taglib to a method (string)
Karen D. Wiens wrote:
> How can I pass the value of the scrape taglib to a method? It seems
to
>
I am not able to use the scrape tag for pages using SSL connection, any
ideas? Thanks.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
g a
syntax error.
I replaced:
<% // snag text and stick it into 'teststring'
String teststring = pageContext.getAttribute( "
scrape="pj3"/>" );
With:
<% // snag text and stick it into 'teststring'
;
%>
And got the following err
t just like any other HTML tag.
hth,
Timo
-Original Message-
From: Karen D. Wiens [mailto:[EMAIL PROTECTED]
Sent: Friday, August 29, 2003 7:10 PM
To: 'Tag Libraries Users List'
Subject: RE: Pass scrape taglib to a method (string)
Thank you for responding. I've tried this and
Can anyone help me with this? I'm getting a syntax error and I'm lost
on where to go from here.
Thanks.
-Original Message-
From: Karen D. Wiens [mailto:[EMAIL PROTECTED]
Sent: Friday, August 29, 2003 7:10 PM
To: 'Tag Libraries Users List'
Subject: RE: Pass scrap
Karen D. Wiens wrote:
Thank you for responding. I've tried this and I'm still getting a
syntax error.
<% // snag text and stick it into 'teststring'
;
%>
Yep, that'll create one :-) -- don't enclose these tags:
in a scriptlet section ( the <% ... %> )
--
Hassan Schroeder -
Thank you for responding. I've tried this and I'm still getting a
syntax error.
I replaced:
> <% // snag text and stick it into 'teststring'
>
> String teststring = pageContext.getAttribute( " scrape="pj3"/>" );
With:
<% // snag text a
Karen D. Wiens wrote:
How can I pass the value of the scrape taglib to a method? It seems to
me that it should be something like:
<% // snag text and stick it into 'teststring'
String teststring = pageContext.getAttribute( "" );
%>
One approach:
Hello,
How can I pass the value of the scrape taglib to a method? It seems to
me that it should be something like:
<% // snag text and stick it into 'teststring'
String teststring = pageContext.getAttribute( "" );
%>
But it doesn't like the syntax. I'm n
My website returns unicode UTF-8 encoded text. I wish to scrape a site
which is encoded with Chinese Big5 and output this on part of my site.
However, this doesnt seem to work and the Chinese characters do not
appear correctly. It seems that the taglib doesnt do any character
encoding
Many Thanks :)
- Original Message -
From: "Glenn Nielsen" <[EMAIL PROTECTED]>
To: "Tag Libraries Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, February 19, 2003 6:47 PM
Subject: Re: Scrape tag
> Fixed now.
>
> Infidel wrote:
> > Yea,
Many Thanks :)
- Original Message -
From: "Glenn Nielsen" <[EMAIL PROTECTED]>
To: "Tag Libraries Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, February 19, 2003 6:47 PM
Subject: Re: Scrape tag
> Fixed now.
>
> Infidel wrote:
> > Yea,
Fixed now.
Infidel wrote:
Yea, I know...but if you go into any of the download locations the folders
are empty
- Original Message -
From: "Renick, Garrel" <[EMAIL PROTECTED]>
To: "Tag Libraries Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, February 19,
Yea, I know...but if you go into any of the download locations the folders
are empty
- Original Message -
From: "Renick, Garrel" <[EMAIL PROTECTED]>
To: "Tag Libraries Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, February 19, 2003 5:46 PM
Subject: RE:
Scrape is listed on the main taglibs page on The Jakarta Project:
http://jakarta.apache.org/taglibs/index.html
-Original Message-
From: Infidel [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 19, 2003 8:23 AM
To: [EMAIL PROTECTED]
Subject: Scrape tag
Hi All
Does anyone know
Hi All
Does anyone know where I can get my hands on the scrape tag??
I've looked on all the jakarta mirror sites and none of them have it.
Any help would be aqppreciated.
Andy
The Scrape tag seems to need reloading at least 3 times (regardless of the
time attribute's value or status) to do a fresh scrape. I tried modifying
the tag to have a default minimum time of one minute vs. the 10 minute it
arrives with.
Regardless of the time attribute's value,
Hello,
It seems that scrape can't retrieve some two-bytes
content(Chinese/Japanese).
And also, it just can retrieve some simple content. I tried to get some
information about the England-Premier live scores from
http://www.livescore.com/default.dll?page=england
It couldn't get any r
Hello-
I am using the scrape tag with Jrun 3.1 - and can only get this error...
Exception thrown processing JSP page.
java.lang.NoClassDefFoundError:
org/apache/oro/text/regex/MalformedPatternException
at org.apache.taglibs.scrape.PageData.scrapePage(PageData.java:495)
at
Now I have another problem, if I change something in the JSP but dont
restart the server,
I will get errors like:
javax.servlet.ServletException: scrape id qt2 is already in use
How can you do it so that the server doesnt have to restart?
-Tim
-Original Message-
From: Chen, Gin [mailto
Hi,
I'm having a problem with scrapes and proxies.
I'm using Tomcat 4.0.1 with the newest Scrape and ORO taglib.
My code is (ofcourse sensitive info changed):
<%@ taglib uri="http://jakarta.apache.org/taglibs/scrape-1.0"; prefix="scrp
Here's the .jsp. It works for the example URL, but not on any other URL.
---
<%@ taglib uri="http://jakarta.apache.org/taglibs/scrape-1.0"; prefix="scrp"
%>
doobie doo
http://www.yahoo.com"; time="11">
Weather Quot
Libraries Users List
Subject: Scrape issues
For some reason, I don't seem to be able to scrape a site other than the
example. Any ideas? I just get nothing in that area, and bytes are
returned on the System.out output. I'm using WebLogic 6.1.
Thanks,
Steve
--
To unsubscribe, e-mail:
For some reason, I don't seem to be able to scrape a site other than the
example. Any ideas? I just get nothing in that area, and bytes are
returned on the System.out output. I'm using WebLogic 6.1.
Thanks,
Steve
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
At one point, I modified the Scrape taglib to use the standard URLConnection object.
I botched it the first time, but I think I had it working OK the second time. I found
one real problem -- there was a mistake in the use of the regular expression library
to find the text between the tags
Still not having any luck with the scrape taglib. Only responses I have gotten
are from 2 others with the same issue.
Follow up questions -
1. Is there a place we can look for errors?
The taglib logs all of it's errors using the servletContext.log() method, in tomcat
this log
The developer for the scrape taglib asked me to forward his
response to the list.
Regards
Garrel Renick
-Original Message-
From: Rich Catlett [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 3:10 PM
To: [EMAIL PROTECTED]
Subject: scrape taglib
Still not having any luck
Still not having any luck with the scrape taglib. Only responses I have gotten
are from 2 others with the same issue.
Follow up questions -
1. Is there a place we can look for errors?
2. Is there a timeout that is causing it to come back blank? If so can it
be set?
3. Are there
Got the scrape taglib all set up with the latest scrape build, latest
jakarta-oro. But the examples don't return scrapes for me just the text
explaining what scrape I would be seeing if it were there. I also don't get any
type of error message.
Was getting the one that required
Thanks but..
Last nights build jakarta-taglibs-scrape-20020320.zip is an empty archive.
-Original Message-
From: Renick, Garrel [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 20, 2002 10:43 AM
To: [EMAIL PROTECTED]
Subject: RE: Scrape
Peter,
I know the developer that made the
Peter,
I know the developer that made the scrape taglib and
forwarded your messages to him. He told me that you
should get the newest taglib from the nightly build generated
last night. He fixed a problem where the complete contents of
the scraped page may not be stored properly due to
, March 18, 2002 11:36 AM
To: [EMAIL PROTECTED]
Subject: Re: Scrape
Hi Peter,
Here's an example (also weather - but different :-0):
-
http://www.wpni.com/ac3/ContentServer?pagename=weather&forceDisplay=tru
e&zipcode=10012"
time="11">
-
Looks l
aracters, maybe you can
escape them?
Original Message Follows
From: "Peter Gales" <[EMAIL PROTECTED]>
Reply-To: "Tag Libraries Users List" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: Scrape
Date: Mon, 18 Mar 2002 08:17:11 -0500
Has anyone successfully
Has anyone successfully used the scrape tag library successfully other than the
weather examples? If so could you post
an explination of how to get them to work properly? I installed the jars in the proper
path and followed the example
only changing the url and none of the scrape appears on my
I spoke to soon.
Using the example provided at
http://jakarta.apache.org/taglibs/doc/scrape-doc/, if the
tag is used, I get the
CompileException error:
.../scrape.jsp(21,0) Attribute scrape invalid according to the
specified TLD
If the tag is commented out, it has no
errors. However, as you
Got it at:
http://jakarta.apache.org/builds/jakarta-oro/release/
No more errors now. :)
Elisa
Elisa Green wrote:
>
> I keep getting this error in my test scrape page:
> java.lang.NoClassDefFoundError:
> org/apache/oro/text/regex/MalformedPatternException
>
> The page that
I keep getting this error in my test scrape page:
java.lang.NoClassDefFoundError:
org/apache/oro/text/regex/MalformedPatternException
The page that I cut an paste the example from
(http://jakarta.apache.org/taglibs/doc/scrape-doc/) also
mentioned that scrape taglibs "requires an up-to
igh on pot!" |
| |
-
Original Message ----
Subject: Scrape: doesn't respect http.proxy settings, redirects, etc;
Date: Thu, 12 Jul 2001 12:07:33 -0400
From: "Meltsner, Kenneth" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
I figured
I figured this one out: Scrape doesn't follow redirects, use system proxy settings,
etc. because it has its own implementation of HTTPURLConnection. Was there a reason
not to use the standard object from java.net? If not, it'd be relatively simple to
fix...
Ken
Ken Meltsne
Has anyone played around with Scrape and authentication?
It seems like the Scrape tag library could be combined with httpunit
(http://www.httpunit.org) to authenticate to web services using either basic
authentication or forms-based authentication.
It might be useful combination for Portal
Hi,
I have the same problem. In my servlet.log I have the following error:
2001-06-14 09:43:49 - path="/scrape-examples"
:java.net.UnknownHostException: weather.noaa.gov
This error probably comes from the fact that we don't have a DNS server
(i.e. ping weather.noaa.gov fails)
W
Hi,
I just downloaded and configured the scrape tag lib. I,
- extracted scrape-20010523.tar and put the scrape/ in the webapps/
directory.
- made sure the 2 jar files (scrape.jar & jakarta-oro-2.0.jar) are in
webapps/scrape/WEB-INFO/lib/
- made sure the descriptor file (scrape.tld) i
Hi,
I just downloaded and configured the scrape tag lib. I,
- extracted scrape-20010523.tar and put the scrape/ in the webapps/
directory.
- made sure the 2 jar files (scrape.jar & jakarta-oro-2.0.jar) are in
webapps/scrape/WEB-INFO/lib/
- made sure the descriptor file (scrape.tld) i
Hi,
I'm trying to use the scrape tags with Resin but run into the following
problem when running the sample scrape.jsp:
/scrape.jsp:71: Exception javax.servlet.jsp.JspException must be caught, or
it must be declared in the throws clause of this method.
tag0.setTime("11");
Th
50 matches
Mail list logo