testica / wikimetrics-2 Goto Github PK
View Code? Open in Web Editor NEWWikimetrics 2.0 - Trabajo Especial de Grado
Wikimetrics 2.0 - Trabajo Especial de Grado
Actualmente volvieron obsoleto un sistema sencillo de login, por lo tanto se usara el nuevo, que conlleva a pasos m谩s complejos pero es m谩s seguro. Toda la explicaci贸n se puede encontrar aqu铆, hay que usar el metodo clientlogin
.
Una vez iniciada la sesi贸n, podemos tener acceso al watchlist del usuario. Explicaci贸n aqu铆
Incluyendo el selector
Requerir autenticaci贸n de usuario para entrar en ciertas vistas
Manejar y almacenar credenciales y art铆culos..
En cada cap铆tulo, la enumeraci贸n de los footnotes es reiniciada, deber铆a mantener el acumulado.
Mostrar datos especificos como:
Decidir si usar plural o no, y cambiar orden entre title
y locale
en el query
El repositorio del api se encuentra aqu铆
Se chequearon las rutas y luego se hicieron observaciones sobre estas:
GET /articles
-> obtenemos una lista de articulosGET /articles/<pageid>
-> obtenemos un art铆culo en espec铆ficoGET /revisions? [pageid | pagesize | page ]
-> obtener revisiones que cumplan con los filtrosGET /count
-> obtener numero de revisionesGET /avg? (datestart | dateend)
-> obtener promedio de revisiones en base a la cantidad de dias dado un intervalo de fechaGET /mode? (attribute)
-> obtener el attributo que m谩s se repite en las revsionesCabe destacar que count, avg y mode incluyen filtros pero estos se est谩n mejorando.
Dada una respuesta en formato json tenemos que definir nuestro modelo en base a los campos que necesitamos
{
pageid => number,
title => string
first_extraction_date => { $date => UNIX },
last_extraction_date => { $date => UNIX },
last_revision_extracted => number
}
Modelo:
{
id => number
title => string
last_revision => number
}
{
* => string,
comment => string,
size => number,
sha1 => string,
pageid => number,
tags => string array,
timestamp => { $date => UNIX },
userid => number,
revid => number.
parsedcomment => string,
contentformat => string,
contentmodel => string,
extraction_date => { $date => UNIX },
parentid => number,
title => string,
minor? => string,
user => string,
anon? => string
}
Modelo :
{
id => number,
pageid => number,
size => number,
tags => string array,
timestamp => UNIX,
user => string,
anon => boolean,
minor => boolean
}
o redirigir a vista de edicion
Implementar una barra superior con acciones e informacion
Componente con input y que sugiera articulos en base a lo escrito, con un selector del idioma del articulo
Cuando el articulo se extrae y crea por primera vez, esta en pendiente. Hay que revisar cada cierto tiempo como se encuentra ese estado, hasta que este listo
Componente y servicio para crear una cuenta de usuario
El listado de visualizaciones se deberia mostrar despues que la primera secci贸n
Para agregar un art铆culo es necesario indicar el idioma, es decir, si es un art铆culo en ingles o espa帽ol y el t铆tulo.
Luego con la localidad y el t铆tulo del art铆culo se usara el api de wikimetrics para extraerlo y guardar estado de la extracci贸n en nuestra api.
De esta manera evitaremos que Wikimetrics haga el proceso de nuevo
Por el momento la data es falsa, por lo tanto es necesario hacer un servicio que pida al api los art铆culos del usuario que tiene la sesi贸n
Mostrar componente de loading
Lista de visualizaciones que responden preguntas generales.
Definir el tipo de visualizaci贸n y proposito de la misma
La idea es que se tenga una base lista para empezar a probar cosas y desarrollar, como el modulo principal de Angular y estructura del c贸digo definida
A declarative, efficient, and flexible JavaScript library for building user interfaces.
馃枛 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 馃搳馃搱馃帀
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google 鉂わ笍 Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.