 | |  |
 |

Tag
New User
Jul 10, 2006, 11:07 PM
Post #1 of 4
(3579 views)
Shortcut
|
|
RSS Add on Trouble
|
Can't Post
|
|
I am following this tutorial: http://www.interactivetools.com/products/articlemanager/tutorials_artman_rss.html This this case the site used ARTMAN vs artman for whatever reason. As it states Save and upload the template to your server in the /artman/templates/index/ folder. the rss_template.xml is in: /public_html/ARTMAN/templates/index/rss_template.xml Publishcron ini = As it states: search_url = http://www.yoursite.com/cgi-bin/artman/exec/search.cgi I have: search_url = http://www.uktickets.co.uk/cgi-bin/ARTMAN/exec/search.cgi As it states: page1 = /home/yoursite.com/artman/publish/rss.xml I have page1 = /home/england/artman/publish/rss.xml As it states: query1 = search=1&perpage=20&template=index/rss_template.xml I have: query1 = search=1&perpage=20&template=index/rss_template.xml Notes: 1. The publish path for page1 may be different depending on where you have put the exec directory and where you want to publish the xml file to. The tutorial does not explain the note. That needs to be explained. Nor does it explain page1 in the first place. 2. To test that publishcron is working and see how the output looks, enter the URL to publishcron in a web browser and add ?page=1 to the end. This will also publish any queries in the INI file. http://www.uktickets.co.uk/cgi-bin/artman/exec/publishcron.cgi?page=1 Receives: Program Message Sorry, the template you've requested is not a registered template Since that program message is actually in the file, then it is there. ------------------- publishcron.ini: Actual #--------Search URL - replace with the full URL to your Article Manager search engine) search_url = http://www.uktickets.co.uk/cgi-bin/ARTMAN/exec/search.cgi #--------Search Queries page1 = /home/england/public_html/ARTMAN/publish/rss.xml query1 = search=1&perpage=20&template=index/rss_template.xml -------------------- In cron: http://www.uktickets.co.uk/cgi-bin/ARTMAN/exec/publishcron.cgi?page=1 Reply: bin/sh: line 1: http://www.uktickets.co.uk/cgi-bin/ARTMAN/exec/publishcron.cgi?page=1: No such file or directory and finally: http://uktickets.co.uk/ARTMAN/publish/rss.xml gives: The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. End tag 'head' does not match the start tag 'meta'. Error processing resource 'http://uktickets.co.uk/ARTMAN/publish/rss.xm... </head>---^ I am sure there is something here I am not understanding since there are hardly any posts on the RSS add on... or maybe I do understand and several hundred users just call for help or do not want to mess with it, either way I could use some help. This should not have taken over 2 hours to set up in any instance following the tutorial (it should have taken a maximum of 10 minutes) but I have been on it for 8 hours. I am sure you will help, you have always been good, and I am sure it will work - however you will need to change the tutorial to make it work the first time. I saw a couple of posts that did not affect this site personally but they should have been on the tutorial as well. Thank you for your help in advance. Taggers PS on the next update please have this add on included with the errors fixed in advance. I use phpnuke as for my sites, and it comes with it. An add on for RSS in the software you make seems a little strange. Tag Craig http://bookwired.com http://cms-miracle.org http://am-nuke.net
|
|
|  |
 |

ross
Staff
/ Moderator

Jul 11, 2006, 1:38 PM
Post #2 of 4
(3566 views)
Shortcut
|
Hi Tag. Thanks for posting and welcome the boards! What is supposed to happen here is the RSS runs a search using that xml template and then saves the results as a static file on your server. Now, when you test out your RSS you are getting that template error message on the screen. If you check out the source of the rss.xml file this is generating you’ll notice that the source code is the same. Of course, it isn’t properly formatted to be read as an RSS feed so you are getting the other error message refering to </head> Basically what this all means is that the RSS is working more or less the way it should be. The only problem is going to be with the template= part of query1. I did a little investigating on your site and it looks like the rss_template.xml file was actually uploaded to your search folder instead. Check out this link: http://www.uktickets.co.uk/cgi-bin/ARTMAN/exec/search.cgi?search=1&perpage=20&template=search/rss_template.xml That’s what you are wanting to see when you test the publishcron. When this page is saved as rss.xml it will give you a proper RSS feed. All you’ll need to do is update your query1 so it looks like this: search=1&perpage=20&template=index/rss_template.xml Now, just so I could get you back on track asap, I didn’t go into much detail about what the different parts of the publishcron.ini file are for. Give this a shot first to see if it gets you going and the let me know if you wanted those details. How does that sound? And just for future reference, we are always happy to help so if you get stuck on something, feel free to email, post or give us a call. I look forward to hearing from you . ----------------------------------------------------------- Cheers, Ross Fairbairn - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

Tag
New User
Jul 11, 2006, 5:09 PM
Post #3 of 4
(3561 views)
Shortcut
|
It already has that in it. I posted the above from the ini file. Nothing has changed as far as that goes. I did move the rss_template.xml file to the cgi-bin/ARTMAN/ at least the publishcron works now.... however the rss link: http://www.uktickets.co.uk/ARTMAN/publish/rss.xml still gives an error. I got it figured out - still the tutorial needs to be rewritten to be a little more clear. also you need a rss xml stipper with it to strip out ... & and other things xml and rss do not like AND change them to AND or other usable and/or black characters Tag Craig http://bookwired.com http://cms-miracle.org http://am-nuke.net
(This post was edited by Tag on Jul 11, 2006, 7:43 PM)
|
|
|  |
 |

ross
Staff
/ Moderator

Jul 12, 2006, 11:35 AM
Post #4 of 4
(3547 views)
Shortcut
|
Hi Tag. Thanks for the update! I am glad to hear you got things going with your RSS feed. I am not quite sure what you mean by an RSS stripper though. All the content that is published into your RSS comes directly from the content you enter into Article Manager. I like the idea of having a built in data scrubber that reformats data so that is RSS friendly and will be adding that to the feature request list. Keep me up to date with how you are making out . ----------------------------------------------------------- Cheers, Ross Fairbairn - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
|