Extract email address from view-source of website page - xpath

Trying to extract email address from page source of https://www.dice.com/jobs/detail/Process-Engineer-Lead-Kforce-Inc.-San-Antonio-TX-78288/kforcecx/ITWQG1496436?icid=sr1-1p&q=Senior%20Process%20Engineer&l=78288
I have list of links in columnA
ColumnB =importxml(A1, "//a[#href]/text()[contains(.,'#')]")
It is only extracting newdicesupport#dice.com not KJOHNSON#KFORCE.COM or any personal emails from page source.
Can you point out to me where is the wrong step in the code I took?.

That e-mail is inside a comment, so you need to access the comment (Accessing Comments in XML using XPath). Otherwise you can consider also 'input' nodes (that email is contained in the source, two times).

Related

PowerAutomate get SOURCE of email body

I need to access the source of an email body through PowerAutomate. Unfortunately the standard HTML to Text - Body solution doesn't work as the emails I want to watch have an embedded link to our ERP (Coupa) and I only get this:
[https://urldefense.com/v3/__http:/www.coupa.com__;!!longstring]
When checking the source of the email body (or actually opening the email), the string I'm looking for is there but Google failed me on how to actually get the source of an email instead of the above conversion.
Full scope: watch inbox for automated emails generated for supplier registration requests, add row to spreadsheet with supplier's name, material group (regex match) and responsible person (xlookup in the table)
Using Compose - Body instead of HTLM to Text gets the source of the email body.

xpath for email addresses, usual methods don't work

I am trying to extract the third email address from this website:
https://www.usvotefoundation.org/vote/eoddomestic.htm;jsessionid=278032F9EB8FD34A6E9AD4D8E4C0F456?submission=true&stateId=1&regionId=430369
(the one for the chief election official), but I have not been able to do so. I have tried:
//*[#id="collapseEodContact"]/div/div/table/tbody[3]/tr[3]/td[2]/a
//a[starts-with(#href, "mailto")]/text()
//*[contains(text(), '#')]
In fact, I don't seem able to pick up any of the email addresses on the page, while being able to pick up other information, including other href attribute links links.
What am I missing?

Identify unique visitor redirected from Qualtrics

I'm trying to redirect respondents within a survey in Qualtrics to a webpage. On this webpage, they need to choose between a couple of options, and after it return to Qualtrics.
I know it is possible to generate an unique URL within qualtrics (e.g. example.com/test?UniqueID=999). However, how can I 'catch' this parameter together with the participant's response?
Thank you!
To "catch" a parameter in Qualtrics, you need to create an embedded data block in your survey flow and then create an embedded data field within that block with the same name (case-sensitive!) as the parameter. Instructions are available in the Qualtrics documentation here.
Please note that if you want to ensure that the parameter will be recorded for all responses, you should place the embedded data block first in your survey flow. (If it's placed after the question block(s), it will only be recorded for respondents who complete all the questions.)

RSS feed validator reporting errors for values which are correct

I am running some of our RSS feeds through a feed validator.
One of the metadata fields is an authors name, but for some reason the validator is expecting to see an email address, images below:
feed validator result
feed original meta data
Does anyone have any idea as to why the validator is expecting to see an email address here?
The RSS specification requires an email address in an item's author element, not a name.
You can include a name along with an email address like this:
<author>ian.beale#example.com (Ian Beale)</author>
If you would prefer to identify the author by name instead of email, omit the author element and add the dc:creator element from the Dublin Core namespace, as in this example:
<dc:creator>Ian Beale</dc:creator>
For more information on adding an element from this namespace (or others), read the RSS Best Practices Profile.

Can I obtain the country name with Google Places API?

On the request for current place I receive a list of places. Every place has an address but that address is a string so I can't get only the country name.
Could someone help me on this matter?
Country is only explicitly available when using the Place Details API, not the Places API. (https://developers.google.com/maps/documentation/places/web-service/details)
You first need to look up a place_id for the specific place you're looking for. You then use your place_id to pull details from the Details API, which includes information like:
Fully formatted address, including country
Address components
Sample reviews
Phone # and website
Operating hours
If you have read the Google Places Autocomplete doc,you must know about API properties.you can use the type as '(region)' and will return you many results (plus country).And if you look inside address_components field (it's array with dynamic length),you will see,that the last item of array is what you need.Here is a great page to read a correct doc and try examples yourself.
http://www.w3docs.com/learn-javascript/places-autocomplete.html

Resources