Battlefield-3.org News feed (german fan-page) - Better Battlelog Forums #2045

Sitemap
Post edited 1 x times, last by
Topicstarter
The last hours I made a great new plugins for german-speaking people.
It displays you the last news from the german fan-page battlefield-3.org.
I hope you enjoy it :)

Battlefield-3.org News feed

http://screen.pkern.at/2012-09-19_2138.png

Plugin:
http://bblog.pkern.at/battlefield-3.org.js


Changelog



v1.0 (19.09.2012)
-Release.

v1.1 (19.09.2012)
- Fixed: When refreshing the site (clicking on battlelog logo) the news feed wasn't shown anymore

v1.2 (26.09.2012)
- Reworked the whole script. Optimized server-side caching of the news feed.[/*:m]
- Added auto-reload every 30 minutes.

v1.2.1 (26.09.2012)
- Fixed: Newsfeed was attached twice, because a fail of the timer.

v1.2.1 (30.09.2012)
- Some fixes and code changes.

v2.0: (21.11.2012)
- Complete rewrite to BBLog v3.0 and some improvements.

Good to know

There's also a simple trick how to display more news. Simply add the amount after the link. Like:
http:// bblog.pkern.at/battlefield-3.org.js?count=4
This link will now show the last 4 news. It's possible up to 14 news.

Extra

Move the newsfeeds after the game activity box

http://screen.pkern.at/2012-09-26_0352.png

Link:
http://bblog.pkern.at/move-newsfeed-under-game-activity.js
Maybe you should change this plugin into one where you can add your own favorite fan-site? Not specially Battlefield-3.org. ;-)
Topicstarter
This isn't possible, because this plugin reads out the source of the webpage and is parsing it. I only can make own plugins for other sites :)
Topicstarter
Update

v1.1

[*]Fixed: When refreshing the site (clicking on battlelog logo) the news feed wasn't shown anymore[/*:m]
Possible to make an english one for BattlefieldO?
http://battlefieldo.com/


I know battlelog+ had these but i use BBlog.
Why parse the Website? Use RSS!
Topicstarter
Prokill wrote:
Possible to make an english one for BattlefieldO?
http://battlefieldo.com/


I know battlelog+ had these but i use BBlog.


Good idea. I started programming it now and it's in test-phase now. I only have to add the images of the news, which isn't easier as it seems. The page hided the images very good :)

But here the first look:
http://screen.pkern.at/2012-09-20_1339.png
Topicstarter
Pun1a wrote:
Why parse the Website? Use RSS!


With RSS I also have to parse the content to get the images into the right variables... battlefieldo.com doesn't support RSS :)
(They have one, but it's not working...)
Topicstarter
Prokill wrote:
Possible to make an english one for BattlefieldO?
http://battlefieldo.com/


I know battlelog+ had these but i use BBlog.


Your request is done:
http://getbblog.com/viewtopic.php?f=22&t=765
:)
Hi Patschi,

the same question I asked to "TSViewer plugin" just vice versa:

is it possible to get the "Battlefield-3.org News Plugin" plugin under the Game Activity box?

:-)
Topicstarter
Wutzmann wrote:
Hi Patschi,

the same question I asked to "TSViewer plugin" just vice versa:

is it possible to get the "Battlefield-3.org News Plugin" plugin under the Game Activity box?

:-)


Done :)

Take a look in the first post of the thread. Have fun!
Topicstarter
Big update!

v1.2


[*]Reworked the whole script. Optimized server-side caching of the news feed.[/*:m]
[*]Added auto-reload every 30 minutes.[/*:m]

(This plugin was updated as well too, because it's basically based on the same system like the battlefieldo.com plugin.)
Hi Guys,

is it possible to become this Plugin for my Website to? I have a German News Website and we are reporting about Battlefield 3 and Medal of Honor Warfighter to.

This is my Site:
http://scene-gamers.de


Greetz Wicked
Topicstarter
Updated to v2.0: Now only compatible with v3.0! Have fun! :)
Post edited 1 x times, last by
Czech translation for you:

"cs" : {
"Ajax.Error" : "Omlouváme se, vyskytl se problém při načítání novinek z battlefield-3.org! Pokud dostáváte tuto chybu po delší dobu, prosím deaktivujte plugin."
},
New version of Czech translation:
"cs" : {
"plugin.name" : "Battlefield-3.org novinky"
"Ajax.Error" : "Omlouváme se, vyskytl se problém při načítání novinek z battlefield-3.org! Pokud dostáváte tuto chybu po delší dobu, prosím deaktivujte plugin."
},
please do it for battlefield-4.net too :D
would be great
Topicstarter
Oh, didn't know this site :D
Thanks, will write it on my todo list :)
this site is new and by the same guys they will go to this cause bf 4 is coming