[Sugar-devel] Beautiful Soup

Tony Anderson tony_anderson at usa.net
Tue May 17 03:01:34 EDT 2016


Hi, Sebastian

What do you mean by upstream?

Tony

On 05/17/2016 07:59 AM, Sebastian Silva wrote:
> Looking at that code, I have to wonder the same thing as Dave... 
> having an upstream /fiddle /would look much cleaner IMHO.
>
> El 17/05/16 a las 00:49, Ütkarsh Tiwari escribió:
>>
>> Checkout the web-console.py file for the relevant extraction code. 
>> https://github.com/richaseh/browse-activity/tree/add_image
>>
>> Thanks,
>> Utkarsh
>>
>> On May 17, 2016 11:13 AM, "Yash Agarwal" <agrwal.ysh94 at gmail.com 
>> <mailto:agrwal.ysh94 at gmail.com>> wrote:
>>
>>     oh, then I'll need to see Richa's code for this. can you send a
>>     link or just paste the relevant code snippet here
>>
>>     On Tue, May 17, 2016 at 11:07 AM Ütkarsh Tiwari
>>     <iamutkarshtiwari at gmail.com <mailto:iamutkarshtiwari at gmail.com>>
>>     wrote:
>>
>>         Hi Yash,
>>                        The exactly situation here is that the
>>         prettified html code inside the .html file generated(after
>>         save) can't be properly parsed by the methods(responsible for
>>         extracting js/html/css code from .html file) written by Mr.
>>         Richa Sehgal because the prittfied code contains the escaped
>>         characters which result in unexpected behaviour.
>>
>>         Thanks,
>>         Utkarsh
>>
>>         On May 17, 2016 10:59 AM, "Yash Agarwal"
>>         <agrwal.ysh94 at gmail.com <mailto:agrwal.ysh94 at gmail.com>> wrote:
>>
>>             Hi,
>>             It would helpful if you could clarify a little,
>>             Beautifulsoup is full featured HTML parser and
>>             prettifying the .html file is just one of the features.
>>             If I understand correctly you want to prettify the code
>>             the user writes in your editor-- this can be done in
>>             real-time(little difficult) or when the user clicks a
>>             button <prettify my code>(quite simple to implement). If
>>             you  want to store the prettified file it shouldn't have
>>             a problem-- could clarify what the exact issue is here.
>>
>>             Cheers,
>>             Yash
>>
>>             On Tue, May 17, 2016 at 7:31 AM Dave Crossland
>>             <dave at lab6.com <mailto:dave at lab6.com>> wrote:
>>
>>                 Hi
>>
>>                 Kindly, I'm confused about this js fiddler activity;
>>                 why are you putting effort into writing a fiddle
>>                 program, instead of merely packaging an existing
>>                 libre fiddle program for Sugar?
>>
>>                 Cheers
>>                 Dave
>>                 _______________________________________________
>>                 Sugar-devel mailing list
>>                 Sugar-devel at lists.sugarlabs.org
>>                 <mailto:Sugar-devel at lists.sugarlabs.org>
>>                 http://lists.sugarlabs.org/listinfo/sugar-devel
>>
>>
>>
>> _______________________________________________
>> Sugar-devel mailing list
>> Sugar-devel at lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20160517/62a7c4b0/attachment.html>


More information about the Sugar-devel mailing list