ICONICO

Discussion Thread

Data Extractor

Message Thread

For WindowsData Extractor

Data Extractor iconExtract any data, including email addresses and URLs from your files and webpages.

Posted in the Data Extractor Forum.




Javascript rule for extracting data by string

Hi there!

I'm looking for some help preparing a rule in javascript to extract several fields of data by string from HTML files using Data Extractor.

The data I would like to extract from each page is: 
KEYWORDS | NAME | FOLLOWERS | LOCATION | TYPE | LANGUAGE | ADDRESS | PHONE | WEBSITE | EMAIL

The string within which the data is located are each of the following (the word in BOLD within the string represents the data I would like to extract):

KEYWORDS
    <meta name="keywords" content="KEYWORDS" />

NAME
    <meta property="og:title" content="NAME" />

FOLLOWERS
<li class="followed-by fl-l">
          <div class="count">FOLLOWERS</div>

LOCATION
<span itemprop="contentLocation">LOCATION</span>

TYPE
          <meta itemprop="genre" content="TYPE"/>

LANGUAGE
        <span itemprop="inLanguage">LANGUAGE</span>

ADDRESS
<label>Contact</label>
ADDRESS
<div

PHONE
class="phone-no">PHONE</div>

WEBSITE
<li class="link-list">
          <a href="WEBSITE" target="_blank" data-hijax="false">Visit the station website</a>

EMAIL
<a href="EMAIL" data-hijax="false">Email the station</a>


Can anyone please help me with preparing the rule or tell me how should I do it?

Thanks!



by Frank Scott on May 5 2017 12:02pm Reply

Our Software Stores

IconicoAccurate Design and Development Software

BitsDuJourDiscount Deal Coupons for Windows and Mac Software Apps

Our Software Services

IcoBlogOur Official Blog

© copyright 2004-2024 Iconico, Inc. Code & Design. All Rights Reserved. Terms & Conditions Privacy Policy Terms of Use Login