I would like to present you my, just borned, little baby 🙂
Also if a picture is worth a thousand words, I want (or well, I must 🙂 ) write something more.
This is a first idea on how the login UIUI UI is an acronym for User Interface - the layout of the page the user interacts with. Think ‘how are they doing that’ and less about what they are doing. would look like (I think I’ll not change it so much), if anyone have any critics/suggestion or whatever, this would be appreciated.
The login process is working fine, but, as I had a talk with Danilo (my mentor), he explain me, in details, what I need to to do, to make the login process working at it’s best.
As far as I understand, I’ve to create an helper function to discover where the endpoint for the XML-RPC has been placed. The first step, should be that if the user doesn’t fill in the ‘Blog Address’ input, then I’ll set the endpoint on https://wordpress.com (e.g. https://wordpress.com/xmlrpc.php ) and check if there is any records that belong to the given credentials. The second step is that if the user writes something in the ‘Blog Address’ input, than I’ll need to check where is the XML-RPC endpoint, mostly (in standard case), it would be an append on the URL that the user has given, if it has been inserted correctly. The third step is when from the given URL I cannot find the XML-RPC placed where I expected it to be, so I need to call this helper function that will do some parse (HTML and XML) and other (nice) stuff, to catch where the xmlrpc.php has been placed. The helper function is needed, if I understand it correctly, only when the user use a blog on an own host, with the JetPack plugin.
So, for the next week I’ll try to implement this stuff in Qt, Danilo gave me a step-by-step guide, so I hope to not encounter any big blocking issue.