Jump to content
MakeWebGames

Recommended Posts

Posted

RSS Feed For Your Game & Twitter

By: Cronwerks & The CE Network

This is a simple RSS page for your game named rssfeed.php. based on the CETWG feed script and altered by Cronus for mccode.

It takes the announcements from you (or your staff) in the first section of your announcements and puts them in a xml/rss feed format.

You can then simply go to www.twitterfeed.com, register, and set up your feed to automatically post to your twitter account.

This means every time you post an announcement on your game, it is automatically posted to your twitter, with no extra work.

Not only does this let your followers read it, but tons of trackers are all over twitter, and it could potentially bring you thousands of backlinks.

This mod was created by Cronus and MDShare of Criminal Existence to hopefully help game owners push their games just a bit further.

Note, depending on the forums in your site, you may have to alter the variables a bit, but I think most games use the same ones(not positive).

If you use v2 of mccodes, you will have to put in a connection to your database, DO NOT include globals, that will not work and will mess it up.

The script is fully functional and works like a charm, Cronus uses it on CriminalImpulse and hopefully you'll make use of it too.

If you need any help just post here and we would be happy to help, its a very simple process.

Click here to follow Cronwerks on twitter.

Click here to follow the CE Network on twitter.

Call a filename rssfeed.php and alter the CriminalImpulse links to suit your game.

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Now twitter is just one example of the usage for it, you can submit the feed also to google webmaster tools, yahoo, msn live, etc ....

members can also subscribe to the feed and get all latest updates even when not online in the game , eg through google feedfetcher, feedblitz etc

Posted

Re: [mccode] RSS Feed for Announcements

part of the CETWG script where it is based of

$rssel is a mysql query

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Posted

Re: [mccode] RSS Feed for Announcements

Well a thank you to cronus for altering my feed script to be usable on mccode as my knowledge regarding mccode scripting style is nill.

Posted

Re: [mccode] RSS Feed for Announcements

If you are converting this to v2 you will have to manually include your database onto the page.

DO NOT just include globals, that will muck it all up.

Here is the code you will need instead of include"mysql.php".

Obviously you need to fill in the database info accordingly.

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

  • 4 weeks later...
Posted

Re: [mccode] RSS Feed for Announcements

Had to edit this script for it to work but it works ty.

How comes it isn't set up for announcements then all though topic name says it is?

It is set up for forums.

Posted

Re: [mccode] RSS Feed for Announcements

 

Had to edit this script for it to work but it works ty.

How comes it isn't set up for announcements then all though topic name says it is?

It is set up for forums.

It is set up for the first section in the forums, which is usually announcements.

That's why we posted it as announcements.

Posted

Re: [mccode] RSS Feed for Announcements

Noticed this was V1, So i decided to convert it and make it so you dont have to modify so much information.

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

All you need to edit is the $email = ""; bit.

Posted

Re: [mccode] RSS Feed for Announcements

Also remembered that some people dont use the default forums, Some people have removed them and so on.... So i modified it to work with announcements, Currently it says GAME NAME Update 1.. then the next is 2 then 3 and so on this is because the announcements system dosen't actually have any kinda title/subject!

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Posted

Re: [mccode] RSS Feed for Announcements

Your going to want to make the link change each time a new update is posted otherwise the feed reader will only post an update once, I found this out after a while.

So perhaps put gamename.com/?topic=(topicid).

It doesn't have to actually do anything, it just has to be different each time so the feed reader picks it up differently.

Posted

Re: [mccode] RSS Feed for Announcements

hmmm. Mine updated once and never again. I did what u suggested Cronus, but still nothing.

Posted

Re: [mccode] RSS Feed for Announcements

Well i noticed a few bugs with my version. So heres an update!

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

This also changes the link just changes from login.php?1 to login.php?2 and so on...

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...