Is there a viewer for page-speed insight JSON data - pagespeed-insights

I have a generated report using pagespeed insights api. is there any site or tool which parses this data and show in a readable format. some thing like this

You can actually use the Lighthouse report viewer you suggested.
You have to extract the lighthouseResult object from the JSON result and store it as an separate json file. Then you can drag it into the viewer.

Related

How to convert xml data into csv/excel/table in Azure

we need to convert XML data into csv/excel/table in Azure cloud.
below is the sample xml code.
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<ns2:getProjectsResponse
xmlns:ns2="http://www.logic8.com/eq/webservices/generated">
<ns2:Project>
<ns2:fileName>P10001</ns2:fileName>
<ns2:alias>project1</ns2:alias>
</ns2:Project>
<ns2:Project>
<ns2:fileName>P10002</ns2:fileName>
<ns2:alias>project2</ns2:alias>
</ns2:Project>
<ns2:Project>
<ns2:fileName>P10003</ns2:fileName>
<ns2:alias>project3</ns2:alias>
</ns2:Project>
</ns2:getProjectsResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Expected output:
Can anyone help me on this.
You could try this way, firstly convert xml to json then use create csv table action to implement it. The below is my test flow.
I use blob to get the xml content. The Compose action input is json(xml(body('Get_blob_content'))), then will get thejson data. Then is the Create CSV table From, ause the from data should be array, so it should be outputs('Compose')['SOAP-ENV:Envelope']['SOAP-ENV:Body']['ns2:getProjectsResponse']['ns2:Project'].
The last thing is customize the header and the value, the ProjectID value should be item()['ns2:fileName'] and the ProjectDescription should be item()['ns2:alias'].
And here is the flow output, suppose this is what you want, hope this could help you.
Do you have any experience with Azure? I ask because from your question it sounds like you’re not sure where to start or which service to use. I’m also curious if you were given a requirement to use Azure or you thought Azure might be the solution yourself. Also where is this XML coming from? It looks like a SOAP request.
If you are a developer I’d consider authoring a Web App in .Net, it can use MVC, Core, Web APIs, and use it to consume this SOAP request and translate it and save the file.
For this I’d consider using an XMLDocument class to load the XML and parse through it.
But if you absolutely need to use Azure, the closest thing that would help automate this is Azure Logic Apps. It offers many “no-code” solutions to plug in connectors that can transform and save data.
https://learn.microsoft.com/en-us/azure/logic-apps/logic-apps-enterprise-integration-transform#how-to-use-a-transform
If you elaborate on your situation I’d be happy to offer further solutions

Can I create a Alexa Skill that can read my report available in CSV (or JSON) format?

Can we create an Alexa Skill that could read out the data on my CSV (or JSON) file? I would like to create a voice-bot to read out my weekly report. I can have my report available in either CSV or JSON format.
It would be great if we aren't using any already built 3rd party apps. I would like to write it from scratch.
As a short answer, yes. That should totally be possible. I currently have a skill that gets the response from a JSON file (it gets the required response, based on the intent of the user).
A CSV file should be fine too - you just need to parse it.
If your file is dynamic and changes often, you could potentially store the file in AWS S3, and fetch/read the content from there.
Once you have the string value for your speech response, from the JSON/CSV - just use that.
It doesn't say how you'd write your skill - but the SDK for Node.js is pretty straight forward, and the documentation is good (with lots of examples too).

Azure API Management - Export results to CSV, XLS or XLSX

I was trying to understand if there is any feature available that would allow you to export the API query results to formats such as csv, xls, etc. But i did not find it. So i wonder if i am missing something, but the requirement would be to be able to easily export the results of a given query that i execute against my API hosted in API Management. Thanks
Only /reports API support returning results in format other than JSON and only in CSV.

Kentico based content in pardot

I have some CTAs based on a custom page type. I'm wondering if there is a way to get a json object so i can consume that in some JS on a pardot landing page i'm building out?
I'd like to avoid cutting and pasting the rendered HTML as I know these will change.
Are you aware of our REST services?
https://docs.kentico.com/k10/integrating-3rd-party-systems/kentico-rest-service/getting-data-using-rest/examples-of-data-retrieved-via-the-rest-service#ExamplesofdataretrievedviatheRESTservice-JSON
On the other hand, if REST is overkill for you you can take advantage of the Custom Response web part and return just the JSON you need or possibly this custom web part:
http://devnet.kentico.com/articles/custom-response-repeater

PowerPivot - How to grab data from Yahoo webservices

I would like to import weather forecasts in PowerPivot for a specified country by using Yahoo API.
So first of all I got the data stream URL including all requiered parameters to get forecasts (it works in my browser).
https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid%3D612977&format=json&diagnostics=true&callback=
Then I tried to use it as "Other data Stream" in PowerPivot to grab the content.
However I got the following strange error about DTD :
Cannot connect to the specified feed. Verify the connection and try
again. Reason: For security reasons DTD is prohibited in this XML
document. To enable DTD processing set the DtdProcessing property on
XmlReaderSettings to Parse and pass the settings into XmlReader.Create
method
Any idea to solve that ?
The easiest was to install PowerQuery for Microsoft Excel then creating a new request to Yahoo Web Services.
After parsing data in PowerQuery (split columns, etc) , formatted data is available in a PowerPivot tab and you can use it as well as direct imported data in PowerPivot.

Resources