Public
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to scrape a custom profile field from profile page XML

Recently I discovered through Google Sheets that I could use =IMPORTXML(A2,"//title") to get the page title of any page on the community when the page URL is in column A.  

I'd like to populate other values from the profile page other than the Page title. Wondering if anyone has any clues about reading other values such as 

Custom Value (Quit date in Hero banner, Page source below)

<div class="myquitdate-wrapper">
			
		
			

<div class="lia-panel lia-panel-standard widget-myquitdate ">
  <div class="lia-decoration-border">
    <div class="lia-decoration-border-top"><div> </div></div>
    <div class="lia-decoration-border-content">
      <div>
          <div class="lia-panel-heading-bar-wrapper">
            <div class="lia-panel-heading-bar">
              <span class="lia-panel-heading-bar-title">Quit Date</span>
            </div>
          </div>
        <div class="lia-panel-content-wrapper">
          <div class="lia-panel-content">



        <script src="https://excommunity.becomeanex.org/html/@AA930D50E4CFEC9240796402D84C91B5/assets/countdown.min.js" defer></script>

        <h4 class="the-quit-date">October 18, 2022</h4>


Date Last visited (Contact Me component)
Registration Date (Community Statistics)
Location (Private Stats)

https://excommunity.becomeanex.org/t5/user/viewprofilepage/user-id/96806 is a sample contact if you have any thoughts on pointing me in the right direction. 

 

Some of these things don't show unless you're authenticated. So it's not visible to guests. I'm guessing in this case I'll have to authenticate. We use SSO so I'm not sure how to overcome that.

0 Replies 0

Welcome to the Technology board!

Curious about our platform? Looking to connect on social technology? You've come to the right place!

Are you a Khoros customer? For direct assistance from our Support team, please visit the Support Forum.