posts-xml-analyzer is a small service able to analyze xml files of "posts" type.
971
posts-xml-analyzer is a small service able to analyze xml files of "post" type; "post" type is based on posts from https://archive.org/details/stackexchange.
Github repository of the app:
https://github.com/ArtemAlagizov/posts-xml-analyzer
Docker container with the app:
https://hub.docker.com/r/alagiz/posts-xml-analyzer
$ docker pull alagiz/posts-xml-analyzer
$ docker run -p 8080:8080 alagiz/posts-xml-analyzer
url: "https://somehost/posts.xml"
https://github.com/ArtemAlagizov/posts-xml-analyzer
$ mvn exec:java
url: "https://somehost/posts.xml"
<?xml version="1.0" encoding="utf-8"?>
<posts>
<row Id="1" AnswerCount="5" CreationDate="2015-07-14T20:06:44.950"/>
<row Id="2" AnswerCount="4"/>
</posts>
Id (any type)
AnswerCount (int)
AcceptedAnswerId (int)
CommentCount (int)
ViewCount (int)
Score (int)
CreationDate (string of the following format: yyyy-MM-dd'T'HH:mm:ss.SSS)
{
"analysisDate": "2018-02-23T14:42:43+01:00",
"details": {
"totalPosts": 655,
"totalAnswers": 360,
"totalAcceptedAnswers": 102,
"totalComments": 793,
"totalViews": 11198,
"averageScore": 3.273,
"firstPostDate": "2016-01-12T18:45:19.963+01:00",
"lastPostDate": "2016-03-04T13:30:22.410+01:00"
}
}
Content type
Image
Digest
Size
308.4 MB
Last updated
over 8 years ago
docker pull alagiz/posts-xml-analyzer