Mercifull
-
Posts
12949 -
Joined
-
Last visited
-
Days Won
8
Content Type
Profiles
Forums
Gallery
Events
Blogs
Posts posted by Mercifull
-
-
Working (draft) script here: http://www.fromefm.co.uk/popupplayer/?show=xxxxxx
examples:
http://www.fromefm.co.uk/popupplayer/?show=altfactor
http://www.fromefm.co.uk/popupplayer/?show=homelyremedies
http://www.fromefm.co.uk/popupplayer/?show=ourhouse
Thanks for the help guys.
-
It's because I've been flicking between php and javascript for this blinkin html5 player I used a + instead of .
Now I understand how women get so stressful when you have a missing period.
- 1
-
Now begins the challenge of turning all my experiments into a Wordpress plugin eek
-
Awsome! Thanks. I was soooooooooooooooooooo close to being right lol. Schoolboy error :) Thanks very much
-
I should probably explain it's to basically parse the contents of the RSS into a playlist that audiojs can read.
-
[hide]Hi all,
Been a long time posting in this forum but I've come across something that I'm stumped at and could do with some advice. Let me explain some bits...
I have running on the server some software called DirCaster which reads the contents of folders to create an RSS feed. e.g. I have a folder on fromefm.co.uk/media/altfactor full of mp3 files. DirCaster created this on the fly when you put the folder in as a variable. See http://fromefm.co.uk...?show=altfactor
I am using an RSS parser called MagpieRSSwhich if I hardcode in the rss url works fine but doesn't work If I try to use _GET to change it.
<?php require_once 'magpierss/rss_fetch.inc'; $url = 'http://fromefm.co.uk/archive/dircaster2.php?show=altfactor'; $rss = fetch_rss($url); foreach ($rss->items as $item ) { $title = $item[title]; $url = $item[guid]; $description = $item[description]; echo "<li><a href='#' data-src='$url'>$title</a></li> "; } ?>
The above code successfully lists all the stuff in the podcast directory by running the magpie script which in turn runs dircaster to get the file listing. The problem arises when trying to make the $url variable dynamic.
I thought I could just do this to create my own new dynamic variable
$showname = $_GET['show'];
But when I put it into the main code it breaks.
<?php $showname = $_GET['show']; require_once 'magpierss/rss_fetch.inc'; $url = 'http://fromefm.co.uk/archive/dircaster2.php?show='+$showname; $rss = fetch_rss($url); foreach ($rss->items as $item ) { $title = $item[title]; $url = $item[guid]; $description = $item[description]; echo "<li><a href='#' data-src='$url'>$title</a></li> "; } ?>
I hope this makes sense. I've got an example page here which DOES have the variable to get a show name but still has the dircaster url hardcoded. There is an echo of $showname in the description to check it works. e.g http://www.frome.me/....php?show=tipit
Any ideas or advice would be helpful. Perhaps it's something MAgpie can't do. If so are there any other similar RSS->PHP parsers around that could do this?[/hide]
Solved. Thanks
Working (draft) script here: http://www.fromefm.c...er/?show=xxxxxx
examples:
http://www.fromefm.c...?show=altfactor
http://www.fromefm.c...=homelyremedies
http://www.fromefm.c.../?show=ourhouse
Thanks for the help guys.
-
It's a common "error" is there a way DGS could detect if the nav bar is enabled/disabled automatically?
-
*cough" michael bay *cough*If you have to add special effects to your video to make it watchable, then it's probably a pretty dull video in the first place.
Perhaps someone should explain that to Hollywood. :P
- 2
-
Mmm A lot of the maxed players with guides on YouTube still suggest checking for snakes.
-
I've always checked for snakes. I found it much faster xp rates from less failures even when I was level 98. Never bothered with proper efficiency calculations though so maybe I was just lucky/unlucky during my tests.
-
still a better ratio of players to bots than last year *rolls*rs is officially dead 1 player and 2 bots online
- 2
-
60% through scythe and still no sign of a single 10k captain. Used every reroll I've had and I've got the best bar I can get until next zone. :(
-
Kinda feel a bit sad after seeing the post by Stev on Facebook. I hope he keeps up the work on this tool it's invaluable for newbies and casual dungeoneers.
-
Noted untradeable items *cries tears of joy* bye bye light orbs, bye bye serum 207... Hello bank spaces :D
- 4
-
Disable Java in browser and use the client.
-
Certainly the ability to play Runescape (if only parts of it) via native apps or simply html5 in browser will shoot Runescape up big time. I think people underestimate how much of a big deal this would be.
-
Shame Jagex haven't banned the high profile players that have quite clearly abused the PoP bugs as there is no way to reach what some people have legitimately this soon.
-
It's highly unlikely that anyone has any of the PoP stuff legitimately so Jagex should just remove any of those items from the game. Tuff luck to anyone that spend money on them, its on par with handling stolen goods
This is complete nonsense. Unless Jagex is willing to recompense the players who bought these items, why should people who legitimately paid for these items lose their money/items because of Jagex's incompetence? They knew this bug was here for weeks, whether it is due to their inability(maybe they tried to figure it out but couldn't) or incompetence or disregard for it, there's absolutely no reason why players should have to suffer such penalties.
That's why I said it was on par with handling stolen goods. You said it was a known bug so take this scenario....
You read in in the tabloids (forums) that someone has stolen (bug abused) a shipment of Brand new Ferrari cars which aren't officially for sale yet (tetsu gear). Someone in the pub (World 2) offers you one of these brand new Ferraris at a price which seems too good to be true. You know in your heart that it's probably going to be one of the stolen ones and if you accept the offer then you can't complain if the police (jagex) reclaim it. There should be no recompense other than the knowledge that the person who sold it to you is put behind bars (banned) and can't do it again.
- 1
-
It's highly unlikely that anyone has any of the PoP stuff legitimately so Jagex should just remove any of those items from the game. Tuff luck to anyone that spend money on them, its on par with handling stolen goods
- 1
-
Pretty amazing really that I still play after all those years
-
It's unlikely. What's more likely is that the company directors will get fined. If they were struck off then they couldn't trade in the UK I believe.What happens if they are stricken from the register?
-
According to this document researched by Pliigi at Stellar Dawn Central the UK is seeking to strike off Jagex from the companies register for failing to file their financial returns on time. The deadline should have been September.
http://data.companie...y/03982706.html
-
It was a "seduction" skill she wanted :PPretty sure Suzi asked if we could get the Marriage Skill at last year's RuneFest and the mods just rolled their eyes.
-
Had two randoms at the same time one for each ship but only one of them worked. I guess one cancelled the other out, how annoying.
[solved] Need help again - Wordpress plugin assistance. Scroll down
in Programming and Web Design
Posted
[hide]Thanks for the help in my previous thread. I am at the point now where I have a working script here http://www.fromefm.c...=homelyremedies which does what I need it to do. Now I somehow need to create wordpress so I can embed some shortcode syntax such as [fromefmplayer=homelyremedies] and it will output it into the blog or page I've added it to.
This is a plugin designed to work on only one site so it doesn't matter if I have to hardcode urls into it (with the exception of the show name) but I want it as a plugin so i can change themes and update wordpress without having to remember the changes I made each time.
The plugin will need to add a few extra css and js files to the header and then run the php code within the blog/page.
I'm not asking someone to do it for me but some pointers on how to convert what is essentially a working js/html5/css script into a wordpress plugin.[/hide]
Scroll down to see latest question. Ta
http://forum.tip.it/...n/#entry5364325