The issue may have to do with the https:// protocol. Can you post a link to a page showing the issue? Also, did you test this on your desktop, or from your page published on the Web?
Walter
On Apr 15, 2014, at 8:18 AM, Wimdg wrote:
I do not understand the Feed2js action.
Tried it, did not work.
Have a html box, applied the action pasted the rss link.
Result: blank.
It is a link from a list from Apple. (Apples RSS link builder)
The link starts with: feed:https://…
I tried it with and without ‘feed’, no effect.
What am I doing wrong? Felt I followed the instructions on actionforge…
Have you tried checking the error log on your server? Depending on where you’re hosted, you may not have permission to use cURL to open a remote file with PHP, and this script relies on that.
I came across similar problems and in the end I went to https://feed2js.org and built the code from there. It also allows you to style how everything looks as well. You can see the ‘non-action’ version at http://www.dmoft.co.uk/ - it’s the ‘Latest news’ at the bottom.
You have jQuery applied to this page, and you have not used the jQuery noConflict() function to intermediate. (Plus, it’s just a horrible idea to have two completely equivalent monolithic JavaScript libraries on the same page – double the download for no additional benefit.) Try removing the poll widget from your page and see if the feed starts magically working. If it does, then we can work out how you can replace it with a Prototype-based equivalent, or just add noConflict() to the page and abandon all hope of this page being friendly for mobile users.
Walter
On Apr 16, 2014, at 9:33 AM, Wimdg wrote:
Hi Walt,
My Hoster whitelisted the apple ip for me. Still it does not work. I have the action and the link on my site: http://www.appadvies.nl
The html box with the action applied is under the text with the link to the top 10 medical apps.
I just updated my example to the feed you’re using.
I think this may be unrelated to the Action or your page. You mentioned that your host had to “whitelist” the Apple server – that sounds fishy to me. Do you have another server somewhere else that you could test this with?
Walter
On Apr 16, 2014, at 10:36 AM, Wimdg wrote:
Hi Walt,
I now have an error on the page!
Removed the other Javascript (I do not use the poll anymore)
To be clear, the script is saying that it is able to connect, but not get any content. You can point them to my page to assure them that the same technology does actually work.
Walter
On Apr 16, 2014, at 11:18 AM, Wimdg wrote:
No Walt, I haven’t. What I will do is: ask my helpdesk from my host again. Now they can see the error message.
PHP 5.3.10, with cURL 7.22.0 enabled. It’s just whatever got installed from apt-get under Ubuntu Linux, I didn’t do anything too ridiculous to get this to work. The Action has been out for years, used by many, and you’re the first person who has reported any issue with it.
Walter
On Apr 17, 2014, at 7:06 AM, Wimdg wrote:
My host now asks what PHP version and extensions you used on your example that works.
Nothing. Your page is not throwing any JavaScript errors, and the rest of the code happens on the server in PHP. I haven’t tested this script in PHP 5.4, but I don’t think it has any issues there.
And it still works there. I believe that the issue is on your server, most likely to do with permissions or local configuration settings in PHP or Apache. There shouldn’t be any reason to “whitelist” any hosts, so that’s a clue that something is not set up in the normal and expected manner on your server. There are lots and lots of $5/month hosts out there with “vanilla” PHP installations. I recommend you sign up for one somewhere, just to prove to yourself that your current host is not configured correctly.
You can also send me OFF LIST an e-mail containing a link to a phpinfo() page (instructions follow). You should definitely not leave this up for any length of time, or advertise its address on the public Web – it’s full of juicy bits of information about your server that are fairly sensitive and may leave you open to abuse. Once I’ve had a chance to look at it and read through it for clues, you can and should delete it from your server.
Use a programmer’s text editor, like the free TextWrangler from http://barebones.com
In a new empty file, add the line of code <?php phpinfo(); ?>. (If you’re reading this in e-mail, don’t include the back-ticks surrounding the code, that’s just there to make this look nice on the Web view of the mailing list.)
Name this file something cryptic, ending in .php, like asdfasdfsdfdfs.php.
Upload the file to your server, in the same folder as your current index.html file using an FTP application like Transmit.
Send me the name of that file, whatever it is, as a URL: http://example.com/asdfasdfsdfdfs.php (where example.com is your actual domain name). If you’re only viewing this on the Web, you may find my contact information by clicking on my name in the header of this message.
Walter
On Apr 18, 2014, at 11:49 AM, Wimdg wrote:
Well Walt, this is what my host uses on the server my site is on: