siteUrl reported for Property Sets is not user friendly
See original GitHub issueIf I create a Property Set, call it Foo, the siteUrl
is some kinda of GUID, rather than Foo.
My application that uses the Java API to get a list of siteUrl
s to display to the user then looks really bad - I list a bunch of nice looking siteUrl
s, then the Property Sets are all sc-set:GUID
. Here’s a code snippet:
public List<String> getSites()
{
final List<String> verifiedSites = new ArrayList<>();
try
{
final Webmasters.Sites.List request = mWebMasters.sites().list();
final SitesListResponse siteList = request.execute();
final List<WmxSite> siteEntries = siteList.getSiteEntry();
if (siteEntries != null)
{
for (WmxSite currentSite : siteEntries)
{
final String permissionLevel = currentSite.getPermissionLevel();
if (!"siteUnverifiedUser".equals(permissionLevel))
{
verifiedSites.add(currentSite.getSiteUrl());
}
}
}
}
catch (IOException e)
{
LOGGER.warn("Failed to get verified sites " + e, e);
}
Collections.sort(verifiedSites);
return verifiedSites;
}
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Solved: Property sets are not returning any values
Solved: I am using Property sets in Apigee Hybrid to store key value pairs. When I try to read the keys it gives...
Read more >Mobile Usability report - Search Console Help - Google Support
The Mobile Usability report shows which pages in your property have ... Not usable: The page is not mobile friendly; Usable: The page...
Read more >Tie your sites together with property sets in Search Console
Property Sets will treat all URIs from the properties included as a single presence in the Search Analytics feature. This means that Search...
Read more >Using property sets | Apigee X - Google Cloud
Typically, you use property sets to store non-expiring data that shouldn't be hard-coded in your API proxy logic. You can access property set...
Read more >How can I add a property set value "intern" automatically to ...
Open Tree view of Artifacts > navigate to your repository > Open Properties Tab > Select/add properties > Check mark Recursive.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey @liamsharp - sorry for the slow replies. We’re fairly low on staff at the moment, and going through some release-process fixes that will help make releases easier and more frequent in the future. Once we’re done with the process fixes we’ll circle back around and take a look at these issues. Apologies again for the wait.
I’ve just got an email from Google with the title:
“Property sets no longer supported in Search Console after March 2019”
So I guess we can close this one off!