I tried this and it works nicely. Thanks for the script.
Samisa...
Jonathan Marsh wrote:
A url like this might give accurate results:
http://markmail.org/browse?q=list:wso2+from:[EMAIL PROTECTED]:jonathan.
Here's an updated stylesheet. The username has to be the alias (e.g.
jonathan) rather than the full name (e.g. Jonathan Marsh). The other
operations seem to work fine on the alias too.
The XSLT version also does sorting and totaling now.
Jonathan Marsh - http://www.wso2.com - http://auburnmarshes.spaces.live.com
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Samisa Abeysinghe
Sent: Friday, May 23, 2008 10:24 AM
To: [email protected]
Subject: Re: [mashup-dev] Regex with Scrapers
Jonathan Marsh wrote:
Here's something to get you going, which scrapes the pages in two
different
ways:
- using regexp (slightly more elaborate than yours) (no sorting, no
totaling)
- using XSLT (sorting, no totaling)
Interestingly, the XSLT version seems substantially faster, even with
all
the parsing that is entailed.
P.S. To me the "checkins" reported by markmail don't seem correct,
way too
low.
Yes, that is because of infra problems I suspect, we seem to have
missed
check-in mails time to time.
I too noticed this and I aggregated mails, check-ins and Jira to check
if I get the total number right, and they tallied , so I suppose my
logic is correct :)
Samisa...
Jonathan Marsh - http://www.wso2.com -
http://auburnmarshes.spaces.live.com
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:mashup-dev-
[EMAIL PROTECTED]
On Behalf Of Samisa Abeysinghe
Sent: Monday, May 19, 2008 2:07 PM
To: [EMAIL PROTECTED]; [email protected]
Subject: Re: [mashup-dev] Regex with Scrapers
Keith Chapman wrote:
Hi Samisa,
Yes the scraper supports regex. We haven't got a specific sample
for
this in the Mashup Server. The can use regex in the scraper config
as
explained in http://web-harvest.sourceforge.net/manual.php#regexp
I will look into that.
What I want is to implement [1] with Mashups server. As you can see,
with PHP, I scrape and then sort and display.
I want to scrape and sort with my Mashup service :)
Samisa...
[1] http://ww2.wso2.org/~samisa/wso2_mailing_lists.phps
Thanks,
Keith.
Samisa Abeysinghe wrote:
Can I use a regex when scraping html content?
What I have seen in samples is XSLT.
Thanks,
Samisa...
_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev
-------------------------------------------------------------------
--
---
No virus found in this incoming message.
Checked by AVG.
Version: 8.0.100 / Virus Database: 269.23.20/1453 - Release Date:
5/18/2008 9:31 AM
--
Samisa Abeysinghe
Director, Engineering; WSO2 Inc.
http://www.wso2.com/ - "The Open Source SOA Company"
_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev
--------------------------------------------------------------------
----
_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev
--------------------------------------------------------------------
----
No virus found in this incoming message.
Checked by AVG.
Version: 8.0.100 / Virus Database: 269.24.0/1459 - Release Date:
5/21/2008 5:34 PM
--
Samisa Abeysinghe
Director, Engineering; WSO2 Inc.
http://www.wso2.com/ - "The Open Source SOA Company"
_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev
------------------------------------------------------------------------
_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev
------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG.
Version: 8.0.100 / Virus Database: 269.24.0/1459 - Release Date: 5/21/2008 5:34 PM
--
Samisa Abeysinghe
Director, Engineering; WSO2 Inc.
http://www.wso2.com/ - "The Open Source SOA Company"
_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev