Parse HTML in Perl and Adjust Inline Styles

Help required parsing HTML in Perl, I'm currently using Mojo::DOM but am having problems finding out how to update inline styles. No rendering is required, this is parsing exercise only. Typical tasks are as follows;

1) Find All [id^="conTaID"] Update style width:100% and max-width:600px;

2) Find All [id^="conTaID"] Remove one class

3) Find All [id^="conTaID"] Remove one attribute

Please advise on a suitable module and provide sample code for me to try.

Thank you

Compétences : Perl

en voir plus : perl parse html stored mysql, perl grab parse html, perl parse html database, perl parse html frames, parse html tables perl database table, perl parse html extract, perl parse html sample, perl parse html txt, parse html file using perl, html perl parse, perl parse html page content, perl regex parse html, perl parse html text directly file, perl regexpr parse html file, perl script parse html page, perl parse html regexp, perl parse html file, perl parse html page

Concernant l'employeur :
( 32 commentaires ) Brixham, United Kingdom

Nº du projet : #17787215

Décerné à:


i have more than 8 years experience in development and devops works.I will finish with in one hour and i will share some sample of code.

%selectedBids___i_sum_sub_4% %project_currencyDetails_sign_sub_5% USD en 1 jour
(0 Commentaires)

7 freelance font une offre moyenne de $39 pour ce travail


I can help you with your Mojo::DOM Perl parser. Removing one attribute is easy task but for the rest you need to get attribute value first (style or class), parse it manually (without Mojo::DOM) and update with new Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(252 Commentaires)

Hi I can provide sample perl program to lookup and update html elements. please get in touch ___________________________________________________________________

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(51 Commentaires)

Hello Friend You required parsing HTML and modify it, for parsing best module in perl is html::treebuilder and html::entity, html::tableparser. Happy to discuss with you on personal chat. Thanks

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(24 Commentaires)

I have about 14 years of software development experience. I have worked with PERL language for parsing of text etc. May be i can help you in this project.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(0 Commentaires)
%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(0 Commentaires)

Hello I am working in scripting technologies for years. Have worked in Perl modules, also in Shell and Python Can we talk further on this? Thank you!

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(0 Commentaires)