ARA Editor doesn't "edit" existing feeds
Thank you for the FAST reply, and I just complied with the posting in forum request (btw I totally missed the forum link, didn't notice it at all) I pay quite some attention to SEO and "pretty URLs", and almost all the website is in pseudo-static addresses. The forum script tho posed quite some issues everytime I tried to make it work with htaccess pretty urls, that's why it's the only section still in "query form", so I do need to leave it at that since I already wasted too much time trying to do that. On the other side, regarding 2), I do have that default /rss.xml in the RSS files dialog, and that's the name of the feed I created, but after pressing the button"Reload" right next to it, all that happens is that the full path to the file appears in the "local path" dialog, pretty much the same thing as writing /rss.xml in the localpath and pressing convert. That's were I got stuck. Well, thanks for the help ;) ___________ Ephestione
For the 1) I have not yet tested it. You should consider to use plain text URLs but it a matter of SEO and I try to covers all the cases. Il will make some tests and I'll correct the program if possible. For the 2), it works for me. You should have a default /rss.xml file in the first text field and an Upload button beside it on the right. The previous feed file is loaded when you click on this button. Do you have that in the interface? Sincerely The webmasterHello there Denis I'm developing my own website, and after some years of work, now I feel that the only things missing are a feed and a mobile version. I'll deal with the mobile version soon, while your ARA editor is the ONLY one tool which promises to do exactly what I need, even if I can't make it actually do that. I need something which will let me manually create, and after that, update when it comes the time, a RSS feed. Your tool does work as I need only to a certain extent: I can definitely create a feed, by adding the pages that I want, and edit each one of them, but two poroblems arise: 1) When adding a page with a complex query string (ie: forum.php?mode=thread&thread=200) the page gets scanned correctly (title and description) BUT in the final RSS feed file, the url gets turncated to forum.php?mode=thread ("&thread=200" is missing) 2) When I need to open a previously created RSS file to add another entry, I cannot do that. Inserting the rss file name in any dialog only gives me the option to add entries, but it doesn't show me which entries are already in the file. If I add an entry from there, the file is created from scratch and the old entries are deleted. Am I missing something?
Hello, Sorry, I have missed the post, I should have answered sooner. The reload function does not work, typically, this is the version of PHP. Is the server configured for PHP 5? About the 1) apparently you include "=" in the URL and the data is sent by ARA with request including "=" as separator too. So the URL should be coded to avoid the conflict. I'll consider that monday.
[quote=scriptol]Hello, Sorry, I have missed the post, I should have answered sooner. No problem, your utility is free, your support is free, it is XMas after all, so your reply is most welcome
The reload function does not work, typically, this is the version of PHP. Is the server configured for PHP 5?definitely... this is the php version dump header shown by loading install.php: PHP Version 5.2.0-8+etch15
About the 1) apparently you include "=" in the URL and the data is sent by ARA with request including "=" as separator too. So the URL should be coded to avoid the conflict. I'll consider that monday.Ok... may be so... yet, the url gets truncated before the second parameter. The page title is correctly fetched by inserting page.php?a=b&c=d but then the link in the xml file is just page.php?a=b without the second query parameter, more like it's the & character which gets in the way... but still, I am a hopeless php newbie. Thank you, and merry christmas!
Thanks for the new version, and I just came back for vacation so that's why the late reply. With this new workaround, the URLs with query strings are put correctly inside the xml file, but I still cannot reload the alteady created file. I always use firefox as my browser. This is what happens. No rss file yet, I setup filename, I "Convert" the local path, I insert a website channel URL, I add the urls of the pages to add to the feed, then when I press the create feed button, the feed is created and is correctly formed. There is a problem though, if the title contains an apostrofe (frequent in italian), like "Il volo dell'anatra" for example, in the rss feed it is truncated before it, and it appears lilke "Il volo dell". Then I open the ara.php page later, the file "/rss.xml" is the default entry in the "RSS file" dialog, so I press reload, and the only thing that happens is that the full local path appears in the "local path" dialog, nothing more. If after that I press again as many times as I want the reload button, nothing happens. If I press the convert button, the local path is added to the already found local path, so it's repeated twice in the "local path" dialog. If I add pages without being able to reload the file, obviously by pressing the create rss feed button, the rss file is overwritten and the old entries are lost. So for now, two problems: pages titles are truncated before apostrophes (and maybe other "strange") characters, and the reload button is still not working, even if I am using firefox, no script or ad blocking, and I have php5. I also tried in internet explorer 8 fresh install, without any plugins or modifications whatsoever (since I never use it), and reload button doesn't work as well... who knows, maybe I should try it on another host, for example 000webhost which is free, just to see if it works there. I also setup file permission of write on rss.xml file, with no difference.
I'll try tomorrow the editor with all sorts of URLs, with parameters and so on. Maybe if the URLs remain encoded in the feed, the reload function works, but I have to verify that so encoded URLs work with any feed readers and browsers....
I have added this thread to the Scriptol feed, just to test the URL... https://www.scriptol.com/rss.xml The URL has parameter just like your link and there is no problem to reload the file, so, the problem is elsewhere. I have uploaded a new archive with 2 more scripts:
ajax-test.php ara-check.phphttps://www.scriptol.com/rss/ara.zip The first checks Ajax and the second verifies the file you have created can be loaded with the PHP's XML functions. Apart that, I must precise that the URLs must be on the same site that ARA to be added to the feed, and the XML file must be well-formed to be loaded. If it is not reloaded, this is probably because it is not well-formed for some reason. You could check the reload function with some basic feed with just one simple URL to verify this. The title is shortened by special chars (not the link), I'll correct that in the next version.
both the test files work... ajax test loads the Hello! string, and rss test loads the link inside the xml file. For the first time tho I checked the source of the ara.php output, and in the call there is: onClick='loadFeed("/home/mhd-01/www.medico-odontoiatra.it/htdocs/rss","/rss/ara.php");' Shouldn't it be onClick='loadFeed("/home/mhd-01/www.medico-odontoiatra.it/htdocs/rss.xml","/rss/ara.php");' ...with the .xml extension instead? Just a thought, I didn't go through the js source
At least, we have a reason for the problem, even if I do not know why the extension is removed. I'll study that tomorrow.
I believe you RSS feed is not loaded in ARA because there is no date in <pubdate></pubdate> for the channel. I'll upload a new version to fix that.
ok, don't rush it anyway, RSS feeds on main site contents is something that I will need to use in the future, other sections of the website as blog and forum have their own feeds. And thank you for the efforts ;)
New version 3.0 just uploaded: https://www.scriptol.com/rss/ara.php Problem of the empty field solved (but channel must be edited before to create a feed), and problem of title too. To use your previous feed, you must edit the file and insert a date in pubdate. Let me know if problems still occurs. Thank for your support, you helped me to improve the script.
You thanking me? ;) C'mon! I confirm that it works now, but I had to manually add the pubdate value into the xml file, otherwise the <pubdate></pubdate> field was empty and the script didn't reload the feed. Somehow the pubdate field is not added by the script, and before adding it manually in the file it didn't reload the feed just like it did with previous versions. Also, after manually inserting a value inside the pubdate tags, I can reload feed, add/remove items and recreat updated feed, but the pubdate which I added manually at the beginning is not updated and stays the same. So it's something inside the php code that probably is skipping the correct handling of pubdate tag.
Actually the script did not change the date of the feed, which would have been easier than keeping the same original date. The RSS specification actually states that it should be (and I myself translated it to french!). But the date is not displayed by browsers and I did not pay attention to it. This is now fixed, version 3.0 has been updated for that.
works now ;) thanks and I thought the "pubdate" attribute had to be update at each addition to the feed... well I don't know much about rss anyway, and I don't use feeds myself, I am just adding a feed to my website to make it more "complete" :P
Yes, it does, that is what I was saying! I have just missed that when I originally created the script.
oh ahah, ok, now I get the irony of your previous post :P cool thing that partly because of me pestering you now this script works a little better :)