Skip to content

u/ambiversive

In this archive from Jan 2009 to Jan 2012

63
posts
177
comments
12
media
2.3k
score

Well the entire function stack is pretty convoluted. When I click on a feed title from within my cms, it sends a $.get request to fetch_single_rss.php which instantiates a Feed object that returns the array generated by the above function. It then formats the items into JSON and outputs it, which is then processed by my javascript and appended in the appropriate place.

After some recent digging, the strange thing is that if I go directly to fetch_single_rss.php and look at the output for a feed that is failing, it is there and looks fine! So it must be failing in the javascript somewhere.. but the javascript works for almost every other feed. The even stranger thing is that if I break fetch_single_rss.php in such a way that it outputs something that should in no way fail (like 'doo' for title and 'woo' for url) it still fails!

1 points

A friend sent me this regarding my question:

What you want is to download XAMPP for each platform, pick a random 127.x.x.x address for your app. 127.22.33.55, for instance, and a random port (because they may have port 80 running via skype or a browser). Then, rig your app so that it starts at http://127.22.33.55:15572/, for instance. Then create a bat file that 1) starts xampp; 2) opens up the browser to that page, and 3) closes xampp when the commandline window is closed. Voila. Crossplatform, self-contained PHP project. There are a few commercial apps that do this at steep premiums fyi.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.