Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
XML:RSS и ampersend
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Slawa Olhovchenkov  
View profile   Translate to Translated (View Original)
 More options Apr 26 2011, 5:28 am
Newsgroups: fido7.ru.perl
From: Slawa Olhovchenkov <Slawa.Olhovchen...@f500.n5030.z2.fidonet.org>
Date: Tue, 26 Apr 2011 13:28:32 +0400
Local: Tues, Apr 26 2011 5:28 am
Subject: XML:RSS и ampersend
Hello All!

бывают такие RSS, которые не совсем rss.
а именно в text всобачен просто ampersend.
Hа этом XML::RSS->parse понятное дело вылетает с руганью.

как бы это все же обойти? тупо s/& /&amp; /g не хочу.
вроде у XML::Parser есть Handlers, у которых есть Char и Unparsed.
Кого из них надо переопределять и как?
и как это пропихнуть в XML::RSS?
там XML::Parser вызывается из _get_parser

====
sub _get_parser {
    my $self = shift;

    return XML::Parser->new

... Лучше скажи мало, но хорошо.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »