Skip to main content
Solved

Transformer HTMLExtractor

  • September 6, 2017
  • 5 replies
  • 67 views

danilo_fme
Celebrity
Forum|alt.badge.img+51

Hi all,

I have a Workspace configurated to extract HTML information. My goal is extract the information ( Previsão do Tempo: 29 max and 13 min ) using the transformer HTMLExtractor:

Attached my Workspace template:

Thanks, -

Danilo

Best answer by danilo_fme

@danilo_inovacao, you will have to learn more about CSS selectors. Visit the web page: CSS Selector Reference, which is linked from the FME help on the HTMLExtractor.

 

Also, in this FME Knowledge Center, you can find some helpful posts regarding how to query using a class name in the HTMLExtractor if you search with "HTMLExtractor" as a key word.

 

If you would still have an issue after learning, post about that again.
Hi @takashi,

 

 

After the link that you sent me, i maked a many tests with the transformer HTMLExtractor.

 

Your link was very interesting and important for me to understand about the CSS Selectors.

 

 

The configuration:

 

The result:

 

Thanks your help @takashi :)

 

 

Danilo
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

5 replies

takashi
Celebrity
  • 7843 replies
  • September 6, 2017
@danilo_inovacao, you will have to learn more about CSS selectors. Visit the web page: CSS Selector Reference, which is linked from the FME help on the HTMLExtractor.

 

Also, in this FME Knowledge Center, you can find some helpful posts regarding how to query using a class name in the HTMLExtractor if you search with "HTMLExtractor" as a key word.

 

If you would still have an issue after learning, post about that again.

redgeographics
Celebrity
Forum|alt.badge.img+60
  • Celebrity
  • 3704 replies
  • September 7, 2017

Just throwing an idea out there: why not use the StringSearcher?


danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Author
  • Celebrity
  • 2077 replies
  • September 8, 2017

Just throwing an idea out there: why not use the StringSearcher?

 

Hi @redgeographics, thanks your idea. I need to show my customer how the transformer HTMLExtractor works.

 

 

Thanks,

 

Danilo

danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Author
  • Celebrity
  • 2077 replies
  • September 8, 2017
Hi @takashi,

 

 

After the link that you sent me, i maked a many tests with the transformer HTMLExtractor.

 

Your link was very interesting and important for me to understand about the CSS Selectors.

 

 

The configuration:

 

The result:

 

Thanks your help @takashi :)

 

 

Danilo

danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Author
  • Celebrity
  • 2077 replies
  • Best Answer
  • September 8, 2017
@danilo_inovacao, you will have to learn more about CSS selectors. Visit the web page: CSS Selector Reference, which is linked from the FME help on the HTMLExtractor.

 

Also, in this FME Knowledge Center, you can find some helpful posts regarding how to query using a class name in the HTMLExtractor if you search with "HTMLExtractor" as a key word.

 

If you would still have an issue after learning, post about that again.
Hi @takashi,

 

 

After the link that you sent me, i maked a many tests with the transformer HTMLExtractor.

 

Your link was very interesting and important for me to understand about the CSS Selectors.

 

 

The configuration:

 

The result:

 

Thanks your help @takashi :)

 

 

Danilo