Windows 10 App

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Topic review
   

Expand view Topic review: Windows 10 App

Re: Windows 10 App

Post by Cthaeh » Thu Oct 01, 2015 5:09 am

Shadowys wrote:I'm getting HTML from the mediawiki api to extract data.

Just as a heads up after glancing at the the example uses you posted in the index, some of them seem to be pulling data based on categories (author(?), genre, status) that may be removed or changed in the future (see this thread the equivalent one in the admin forum).

So if you, or other app/api developers, have strong opinions on those topics, you should comment in one of the threads.

Re: Windows 10 App

Post by Shadowys » Wed Sep 30, 2015 6:17 am

I'm getting HTML from the mediawiki api to extract data.

Sample JSON response here (from https://baka-tsuki-api.herokuapp.com/ap ... volumeno=1)
Note: I'm using http://jsonprettyprint.com/ to pretty print the data, so the unicode characters have been encoded. The original response is decoded.
Spoiler! :
{
"title": "Hyouka",
"sections": [
{
"title": "The Hyouka \/ Classics Club Series (\u3008\u53e4\u5178\u90e8\u3009\u30b7\u30ea\u30fc\u30ba) by Honobu Yonezawa",
"books": [
{
"title": "Volume 1 - Hyouka \u6c37\u83d3 - You can't escape \/ The niece of time (Full Text - PDF)",
"chapters": [
{
"title": "Full Text",
"page": "Hyouka:Volume_1",
"linktype": "internal",
"link": "https:\/\/www.baka-tsuki.org\/project\/index.php?title=Hyouka:Volume_1"
},
{
"title": "Hyouka:Volume 1 Chapter 1",
"page": "Hyouka:Volume_1_Chapter_1",
"linktype": "internal",
"link": "https:\/\/www.baka-tsuki.org\/project\/index.php?title=Hyouka:Volume_1_Chapter_1"
},
{
"title": "Hyouka:Volume 1 Chapter 2",
"page": "Hyouka:Volume_1_Chapter_2",
"linktype": "internal",
"link": "https:\/\/www.baka-tsuki.org\/project\/index.php?title=Hyouka:Volume_1_Chapter_2"
},
{
"title": "Hyouka:Volume 1 Chapter 3",
"page": "Hyouka:Volume_1_Chapter_3",
"linktype": "internal",
"link": "https:\/\/www.baka-tsuki.org\/project\/index.php?title=Hyouka:Volume_1_Chapter_3"
},
{
"title": "Hyouka:Volume 1 Chapter 4",
"page": "Hyouka:Volume_1_Chapter_4",
"linktype": "internal",
"link": "https:\/\/www.baka-tsuki.org\/project\/index.php?title=Hyouka:Volume_1_Chapter_4"
},
{
"title": "Hyouka:Volume 1 Chapter 5",
"page": "Hyouka:Volume_1_Chapter_5",
"linktype": "internal",
"link": "https:\/\/www.baka-tsuki.org\/project\/index.php?title=Hyouka:Volume_1_Chapter_5"
},
{
"title": "Hyouka:Volume 1 Chapter 6",
"page": "Hyouka:Volume_1_Chapter_6",
"linktype": "internal",
"link": "https:\/\/www.baka-tsuki.org\/project\/index.php?title=Hyouka:Volume_1_Chapter_6"
},
{
"title": "Hyouka:Volume 1 Chapter 7",
"page": "Hyouka:Volume_1_Chapter_7",
"linktype": "internal",
"link": "https:\/\/www.baka-tsuki.org\/project\/index.php?title=Hyouka:Volume_1_Chapter_7"
},
{
"title": "Hyouka:Volume 1 Chapter 8",
"page": "Hyouka:Volume_1_Chapter_8",
"linktype": "internal",
"link": "https:\/\/www.baka-tsuki.org\/project\/index.php?title=Hyouka:Volume_1_Chapter_8"
},
{
"title": "Hyouka:Volume 1 Chapter 9",
"page": "Hyouka:Volume_1_Chapter_9",
"linktype": "internal",
"link": "https:\/\/www.baka-tsuki.org\/project\/index.php?title=Hyouka:Volume_1_Chapter_9"
},
{
"title": "Hyouka:Volume 1 Afterword",
"page": "Hyouka:Volume_1_Afterword",
"linktype": "internal",
"link": "https:\/\/www.baka-tsuki.org\/project\/index.php?title=Hyouka:Volume_1_Afterword"
},
{
"title": "",
"page": "File:Hyouka_02.jpg",
"linktype": "internal",
"link": "https:\/\/www.baka-tsuki.org\/project\/index.php?title=File:Hyouka_02.jpg"
}
],
"cover": "https:\/\/www.baka-tsuki.org\/project\/thumb.php?f=Hyouka_01.jpg&width=161"
}
]
},
{
"title": "The Classics Club Series Unanthologized Short Stories",
"books": [

]
}
],
"status": "active",
"author": "Honobu Yonezawa",
"synopsis": "Oreki Houtarou is a self-proclaimed \"energy-saver\"\u2014that is, he refuses to actively waste energy doing things that aren't necessary. Though he had no interest whatsoever in participating in any clubs upon entering Kamiyama High School, he was commanded by his older sister, Tomoe, to join the club she was once a part of, the Classics Club, as it was in danger of being abolished due to its nonexistent member count. Together with his old friends Fukube Satoshi and Ibara Mayaka, as well as with the elegantly ladylike and curiously inquisitive Chitanda Eru, the newly reformed Classics Club ends up finding themselves involved in all sorts of mystery-solving escapades. Houtarou quickly learns that life in the Classics Club, just as Tomoe had promised, would be an interesting one indeed.\nAnd so begins the \"Classics Club Series\".\nAdapted into an anime series by Kyoto Animation in 2012 under the title \"Hyouka\".\n",
"cover": "https:\/\/www.baka-tsuki.org\/project\/thumb.php?f=Hyouka_v01_000.jpg&width=300",
"one_off": false,
"illustrator": ""
}

Re: Windows 10 App

Post by alec43 » Wed Sep 30, 2015 3:32 am

But Light reader would require a parser.


Yes but, no need to parse HTML. Just get data.

[...] hosting options


Maybe contact administrator.

Re: Windows 10 App

Post by Shadowys » Wed Sep 30, 2015 12:02 am

Edit: The server accidentally misinterpreted that I was going to edit alex's answer.
He said that he could test my api and had their own parser, but Light reader would require a parser.
Currently it is pretty stable (I don't plan to change features in the near future until it's time for version 2.0).
I'm aiming for full coverage, and until now (at least from what I hear from the person developing the iOS app) the API only has partial problems for only 4 titles.
The only thing lacking now is documentation (which I'm working on now) and hosting options.

Source here:
https://github.com/Shadowys/btapi

Re: Windows 10 App

Post by alec43 » Tue Sep 29, 2015 11:01 pm

Nice good to see that !

If you search for a Phonegap app we are working on it. :)

For your API we can make a test. Actually we have your own parser but, Lightreader project can use multi-parser ( if i can avoid develop parser i'm Happy:) ) .

Last, does your api is stable ? does he have a good uptime ? OpenSource ?

Re: Windows 10 App

Post by Sike417 » Tue Sep 29, 2015 11:35 am

wow, someone is actually working on fixing the API. Wonderful day indeed :D. The way it was set up was kind of unpleasant/cumbersome.

Re: Windows 10 App

Post by Shadowys » Mon Sep 28, 2015 11:51 pm

Hi, I've created an API for parsing and pulling the BT mediawiki data here : https://baka-tsuki-api.herokuapp.com/

Would love to see it used and get more feedback on how to polish it. It's currently also being used by AzSiAz to create an iOS app.

Edit: I'm thinking of using NodeJS to write a universal app and then publish using node-webkit and phonegap, but that'll have to wait until my holidays and ZNT translations backlog :P

Re: Windows 10 App

Post by alec43 » Mon Sep 28, 2015 6:51 am

HI

Sorry for my late reply ( forget password at work).

Everyone is welcome :)

I'm not a typescript expert too ^^

Repository location => https://github.com/Masclaux/LightReader

You can found my previous project here => https://github.com/Masclaux/LightReader_Old . The old project is more advanced but, I didn't like my project structure (and the use of Swiss army knife framework).

Re: Windows 10 App

Post by Pikapal » Tue Sep 22, 2015 7:38 pm

Hi,
I am interested in helping out in the project if it is possible, I have some experience in DotNet and C# but willing to learn others.
Thanks

Re: Windows 10 App

Post by Guest » Tue Sep 22, 2015 3:05 am

ok feel free to mail me.

Re: Windows 10 App

Post by Sike417 » Wed Sep 16, 2015 11:04 am

okay, over the next few days i will review the repository, and see if i can't make out how the program works so far. Since this is currently just a test universal application, i take it the look and feel of the application doesn't matter as much as the functionality?

Re: Windows 10 App

Post by alec43 » Thu Sep 10, 2015 6:18 am

Hi no problems you're welcome.

Actually i'm made a huge clean on code base( rename crappy class etc etc ).

I'm started to implement winjs template :http://try.buildwinjs.com. Commit this weekend ( if i'm return safe to my bike road trip ;) )

Like you i'm ( a lot ) better in .net and if I choose cordova + typescript app it's because I have a windows phone and an android tab.

Re: Windows 10 App

Post by Sike417 » Tue Sep 08, 2015 10:45 pm

If you wish to start development on a windows 10 app, i would be more than happy to help you with that. I worked a bit trying to create a baka-tsuki app for windows phone 8.1, but i haven't worked on it in a while because of the start of my summer. What language would you be using? Most of my experience lies in c#, but i probably can adapt.

Re: Windows 10 App

Post by alec43 » Mon Aug 17, 2015 4:05 am

Hi

I'm on typescript/cordova app. Work on android, probably on IOS and windows phone.

you can found here my sources => https://github.com/Masclaux/LightReader

Actually I'm not satisfied of my source code and the framework I using is discontinued. I'm working hardly too find other technologies and rewrite some part .

Maybe a good start point for you.


PS: actually it work only with visual studio 2013 update 4.

Re: Windows 10 App

Post by manlyflower » Sun Aug 02, 2015 2:39 pm

I think that's your answer. xD I look forward to see what you come up with.

Top