We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

ANO XML Parser

Development and Programming

arnoldc's avatar
arnoldc
122 posts
15 years ago
arnoldc's avatar arnoldc

hi bcw,

You have a very special need and I am not aware of anything that you can use right out of the box. You probably need to build a custom web application (data aggregator of some sort).

In any case, it may be better off if you ask in the general discussion rather than in this thread.

Good luck.

       
Art Practical's avatar
Art Practical
13 posts
15 years ago
Art Practical's avatar Art Practical

bcw,

have you looked into this http://brandnewbox.co.uk/products/details/xmlgrab/ ?

ap

       
Blue Coast Web's avatar
Blue Coast Web
32 posts
15 years ago
Blue Coast Web's avatar Blue Coast Web
bcw, have you looked into this http://brandnewbox.co.uk/products/details/xmlgrab/ ? ap

Thanks! I may have to look into that

       
cmsmester's avatar
cmsmester
16 posts
15 years ago
cmsmester's avatar cmsmester

Hi Arnold, How would I add a class “last-forecast” to the last item in the loop? I tried using switch and conditionals but couldn’t get it to work…

{exp:ano_xml_parser:fetch source='http:...' refresh='180' parent_tag='aws:forecasts' child_tag='aws:forecast'}
<table class="weather-forecast" border="0" cellspacing="0" cellpadding="2" width="565">
    <tr>
        <td colspan="3"><h3>{aws:forecast_aws:title}</h3> - {aws:forecast_aws:short-prediction}</td>
    </tr>
    <tr>
        <td width="80">http://img.weather.weatherbug.com/forecast/icons/localized/70x59/en/trans/{aws:forecast_aws:image_icon}</td>
        <td  class="forecast-temp"width="80">
            High: <span>{aws:forecast_aws:high}{aws:forecast_aws:high_units}</span>

            Low: <span>{aws:forecast_aws:low}{aws:forecast_aws:low_units}</span>
        </td>
        <td width="370">{aws:forecast_aws:prediction}</td>
    </tr>
</table>
{/exp:ano_xml_parser:fetch}

Thanks!

       
Marc Debiak's avatar
Marc Debiak
36 posts
15 years ago
Marc Debiak's avatar Marc Debiak

For some reason, I can’t get the {if no_results} conditional to work. Maybe I’m missing something? Here’s what my code looks like:

{exp:ano_xml_parser:fetch source='{artist_tour_rss}' refresh='0' parent_tag='channel' child_tag='item' limit='10'}

{if no_results}
No Results.
{/if}
<li class="{switch='dateone|datetwo'}">» <a href="http://{item_link}" title="Click to view more info on Last.fm" target="_blank" rel="noopener">{item_title}</a></li>

{/exp:ano_xml_parser:fetch}
       
First 6 7 8

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.