• I added a new template in the admin screen, but when I tried to add an element to it I received this error –
    “There are errors in your XML.

    version=\”1.0\”
    Fatal Error 39: AttValue: ” or ‘ expected
    At line 2, column 9″

    After that error it added escape slashes throughout the new template. Is there anyway to just edit the .xslt file in the plugin folder and have that get picked up or are the templates stored in the database?

    https://www.ads-software.com/extend/plugins/advanced-rss/

Viewing 3 replies - 1 through 3 (of 3 total)
  • ethayer

    (@ethayer)

    I’ve got the same issue. The work-arround I’ve been doing is-

    1. Edit the new.xslt file to the new specs
    2. Deploy
    3. Create new template and name it something.

    -Bingo.. new custom template.

    Problems: Too many deploys. Have you found a solution to this? I need to be able to edit some CSS. This is a great plugin, I just wish there were more options to have custom element tags.

    asceta

    (@asceta)

    Hello,

    As for ‘custom element tags’ – I’m not sure what do you mean.

    I’ve managed to add additional parameters that could be set up via widget – in my case I wanted to add parameters ‘width’ and ‘height’, that could be used in templates to define size of objects (YouTube videos) displayed in widget.

    It’s not an easy way to describe ‘how to do this’ – in short, I had to add several lines in php5.php file of Advanced RSS plugin.

    I’m sure that in the same way one could pass some CSS variables, CSS file, or other parameters usable in XLST template.

    Another thing: I’ve noticed that adding just another XLST template (adding file in plugin directory) is not enough – I had to add information about it in two places in php5.php file, to get it loaded. One is a list of templates loaded via plugin, second is a list of template description that are shown in Advanced RSS configuration page.

    And yet another thing – I had to deactivate/activate plugin to ‘refresh’ template list.

    Maybe there’s a simpler way to do this.

    ethayer

    (@ethayer)

    I’ve just started to edit the templates via the database. Simple enough and I don’t have to hack the plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Advanced RSS] Editing New Template Error’ is closed to new replies.