View unanswered posts | View active topics It is currently Fri Oct 18, 2019 7:14 pm



Reply to topic  [ 134 posts ]  Go to page 1, 2, 3, 4, 5 ... 9  Next
 ability to publish game logs to a blogger account. 
Author Message
Gameop
User avatar

Joined: Wed Jun 15, 2011 1:26 am
Posts: 165
Location: Martensville SK Canada
Unread post ability to publish game logs to a blogger account.
was thinking that with the ablility to run a program at any time i was wondering if it was possable to update a blog with using blogger's post by email option.

i tried to do it my self but could not find a decent program that does the trick that i wanted to do on the net.

in order to post on blogger you need to setup a email acount that looks like username.secretname@blogger.com

and in the subject would be the name of the game. and in the body of the message would be the log entry for that day. everything else is taken care of by blogger.

if i can manualy get it working or if someone else could get it working please reply with the answer on how to do it. as, if i can do it, i will.

_________________
http://bbs.slother3x.info
http://www.slother3x.info My own website, hosted by myself.

"it only takes one to ruin it for all"
"The promises of our youth will always haunt us in the wisdom of our old age"


Sat Jul 23, 2011 8:46 am
Profile YIM
Site Admin
User avatar

Joined: Sun Dec 24, 2000 3:00 am
Posts: 3150
Location: USA
Unread post Re: ability to publish game logs to a blogger account.
I meant to ask you for more details on what you meant by that when we were chatting, but I got sidetracked.

There is a feature set that I'd like to add at some point that allows the gameop to set the game up for reporting to various targets like an email or messager specified by the player, or a twitter feed. Sounds like what you're requesting would be another target.

I know Sage at ultimatetw.com does a lot of reporting like this. Until I do get something added to TWGS to support it, you might see what he's doing. I know he's emailing to players, so the email to blog thing might work. Then it's a question of what data to send.

_________________
John Pritchett
EIS
---
Help fund the TradeWars websites! If you open a hosting account with A2 Hosting, the service EIS uses for all of its sites, EIS will earn credits toward its hosting bill.


Sat Jul 23, 2011 8:53 am
Profile WWW
Gameop
User avatar

Joined: Wed Jun 15, 2011 1:26 am
Posts: 165
Location: Martensville SK Canada
Unread post Re: ability to publish game logs to a blogger account.
the type of data would be the text from the log files as the body of the message for that day. and in the subject would be the name of the game that the entry is from. ie "Game A" "Game B" and so on. the date and time is already taken care of by blogger and if need be you can also add info "entries" to explain things as you go. that is what i was triing to do at my blog http://slother30.blogspot.com
but i could not get automation for emailing my logfiles except by posting them manualy.

_________________
http://bbs.slother3x.info
http://www.slother3x.info My own website, hosted by myself.

"it only takes one to ruin it for all"
"The promises of our youth will always haunt us in the wisdom of our old age"


Sat Jul 23, 2011 9:03 am
Profile YIM
Site Admin
User avatar

Joined: Sun Dec 24, 2000 3:00 am
Posts: 3150
Location: USA
Unread post Re: ability to publish game logs to a blogger account.
Are you interested more in the daily log as can be viewed in TW, or the game log that can be viewed in the TWGS log viewer? I think the in-game daily log is best for this kind of thing.

_________________
John Pritchett
EIS
---
Help fund the TradeWars websites! If you open a hosting account with A2 Hosting, the service EIS uses for all of its sites, EIS will earn credits toward its hosting bill.


Sat Jul 23, 2011 9:35 am
Profile WWW
Site Admin
User avatar

Joined: Sun Dec 24, 2000 3:00 am
Posts: 3150
Location: USA
Unread post Re: ability to publish game logs to a blogger account.
I would think that you'd just want the previous day's log, not the entire log sent each time.

_________________
John Pritchett
EIS
---
Help fund the TradeWars websites! If you open a hosting account with A2 Hosting, the service EIS uses for all of its sites, EIS will earn credits toward its hosting bill.


Sat Jul 23, 2011 9:36 am
Profile WWW
Gameop
User avatar

Joined: Wed Jun 15, 2011 1:26 am
Posts: 165
Location: Martensville SK Canada
Unread post Re: ability to publish game logs to a blogger account.
yep. i was thinking that, but in the mean time i was thinking that i could delete the logs as a workaround. but if you know a way to post the previous days's log without doing that, it would be great. and it would also be just what i imagened.

_________________
http://bbs.slother3x.info
http://www.slother3x.info My own website, hosted by myself.

"it only takes one to ruin it for all"
"The promises of our youth will always haunt us in the wisdom of our old age"


Sun Jul 24, 2011 1:38 pm
Profile YIM
Gameop
User avatar

Joined: Mon Apr 16, 2001 2:00 am
Posts: 419
Location: Denver Colorado
Unread post Re: ability to publish game logs to a blogger account.
What would be really nice is if we could get TWGS to export the info to an XML file. From there, it would be a simple matter to do all of these things...

_________________
twarbase.com:23


Sun Jul 24, 2011 2:09 pm
Profile ICQ WWW
Gameop
User avatar

Joined: Wed Jun 15, 2011 1:26 am
Posts: 165
Location: Martensville SK Canada
Unread post Re: ability to publish game logs to a blogger account.
Master Blaster wrote:
What would be really nice is if we could get TWGS to export the info to an XML file. From there, it would be a simple matter to do all of these things...


ok im a bit of a newbie to XML files. and how to import them to my blogger account. but i do know how to post to a blogger accout via email. as i have done it before. could you explain the differences?

_________________
http://bbs.slother3x.info
http://www.slother3x.info My own website, hosted by myself.

"it only takes one to ruin it for all"
"The promises of our youth will always haunt us in the wisdom of our old age"


Sun Jul 24, 2011 2:27 pm
Profile YIM
Gameop
User avatar

Joined: Mon Apr 16, 2001 2:00 am
Posts: 419
Location: Denver Colorado
Unread post Re: ability to publish game logs to a blogger account.
Since I suck at basic explanations, I'm going to plagiarize Wikipedia for this one. Blogger is just another web page, like any other.

Using it simplifies the entire process of gathering fresh data to be used just about anywhere on the net.

Quote:

From Wikipedia, the free encyclopedia
XML XML.svg
Filename extension .xml
Internet media type application/xml,[1] text/xml[2] (deprecated in an expired draft)[3]
Uniform Type Identifier public.xml
UTI conforms to public.text
Developed by World Wide Web Consortium
Type of format Markup language
Extended from SGML
Extended to Numerous, including:
XHTML, RSS, Atom, KML
Standard(s) 1.0 (Fifth Edition) November 26, 2008; 2 years ago
1.1 (Second Edition) August 16, 2006; 4 years ago
Open format? Yes
Extensible Markup Language (XML) Current Status Published
Year Started 1996
Editors Tim Bray, Jean Paoli, C. M. Sperberg-McQueen, Eve Maler, François Yergeau, John Cowan
Related Standards XML Schema
Domain Data Serialization
Abbreviation XML
Website XML 1.0

Extensible Markup Language (XML) is a set of rules for encoding documents in machine-readable form. It is defined in the XML 1.0 Specification[4] produced by the W3C, and several other related specifications, all gratis open standards.[5]

The design goals of XML emphasize simplicity, generality, and usability over the Internet.[6] It is a textual data format with strong support via Unicode for the languages of the world. Although the design of XML focuses on documents, it is widely used for the representation of arbitrary data structures, for example in web services.

Many application programming interfaces (APIs) have been developed that software developers use to process XML data, and several schema systems exist to aid in the definition of XML-based languages.

As of 2009, hundreds of XML-based languages have been developed,[7] including RSS, Atom, SOAP, and XHTML. XML-based formats have become the default for most office-productivity tools, including Microsoft Office (Office Open XML), OpenOffice.org (OpenDocument), and Apple's iWork.[8]



Using XML, I can create any type of web interface I want, I can also display the information in any web language, order or design that I wish. The idea is the data being presented would be completely dynamic in the sense that you could set it up to refresh the xml data as much as you want without a strain, even every minute if you desired and easily grab that info for the web page each time it's loaded by someone viewing it.

_________________
twarbase.com:23


Sun Jul 24, 2011 5:45 pm
Profile ICQ WWW
Gameop
User avatar

Joined: Wed Jun 15, 2011 1:26 am
Posts: 165
Location: Martensville SK Canada
Unread post Re: ability to publish game logs to a blogger account.
I C.

i will look into seeing if i can import a Xml file into my blog. if so, i can then just use my Xml file to update the blog that i already have. i am just hoping i can somehow do it automaticly. like i can with emails. if not, i still would like the email feature. it would be cool. or perhaps "Both" can be implemented.

either way it makes a window of what is going on visible to the public without ever having to login.

helps with the advertising for new players lol

_________________
http://bbs.slother3x.info
http://www.slother3x.info My own website, hosted by myself.

"it only takes one to ruin it for all"
"The promises of our youth will always haunt us in the wisdom of our old age"


Sun Jul 24, 2011 5:56 pm
Profile YIM
Gameop
User avatar

Joined: Mon Apr 16, 2001 2:00 am
Posts: 419
Location: Denver Colorado
Unread post Re: ability to publish game logs to a blogger account.
I think you misunderstand me. TWGS does not have the capability to create an xml file at this time. It's in my wish list as a user

_________________
twarbase.com:23


Sun Jul 24, 2011 5:59 pm
Profile ICQ WWW
Gameop
User avatar

Joined: Wed Jun 15, 2011 1:26 am
Posts: 165
Location: Martensville SK Canada
Unread post Re: ability to publish game logs to a blogger account.
nope i read you loud and clear. i was asking if this feature would be implemented. but using XML files would be pointless to me if i cannot use them into my blog. what's the point of asking for a feature that i cannot use? that is what i ment by seeing if my blog can import xml.

_________________
http://bbs.slother3x.info
http://www.slother3x.info My own website, hosted by myself.

"it only takes one to ruin it for all"
"The promises of our youth will always haunt us in the wisdom of our old age"


Sun Jul 24, 2011 6:24 pm
Profile YIM
Site Admin
User avatar

Joined: Sun Dec 24, 2000 3:00 am
Posts: 3150
Location: USA
Unread post Re: ability to publish game logs to a blogger account.
I'll make a note of this need to access game logs in a more general way and see what I can do.

_________________
John Pritchett
EIS
---
Help fund the TradeWars websites! If you open a hosting account with A2 Hosting, the service EIS uses for all of its sites, EIS will earn credits toward its hosting bill.


Mon Jul 25, 2011 9:24 pm
Profile WWW
Commander
User avatar

Joined: Mon Oct 29, 2001 3:00 am
Posts: 1096
Location: Tucson, AZ
Unread post Re: ability to publish game logs to a blogger account.
All the daily log stuff goes in TWOPENG.DAT, right? It looks like it would be very easy to parse and convert to XML or any other format you want. The community could come up with a solution, and let JP work on bigger things.

I could probably whip up a XML Schema and a parser/converter in one night, if someone is interested.

_________________
Suddenly you're Busted!


Tue Aug 09, 2011 8:09 pm
Profile WWW
Immortal Op

Joined: Thu May 29, 2008 9:04 am
Posts: 143
Location: Kitchener, Ontario, Canada
Unread post Re: ability to publish game logs to a blogger account.
Master Blaster wrote:
What would be really nice is if we could get TWGS to export the info to an XML file. From there, it would be a simple matter to do all of these things...



YES!! or a standard cvs (coma separated value) file. It is very difficult to get tables and data separated for use with sql. XML would also make for easy export for use in html.

Game D Twstats.txt output:

[Version]
Major Version=3
Minor Version=21
[Bigbang Settings]
Gold Enabled=True
MBBS Compatibility=True
Random Factor=2227723103
Bubbles=True
[General Info]
Start Day=05/20/23
Game Age=123 Days
Last Extern Day=08/05/23

Add a seperator ,
[Version],
Major Version,=,3,
Minor Version,=,21,
[Bigbang Settings],
Gold Enabled,=,True,
MBBS Compatibility,=,True,
Random Factor,=,2227723103,
Bubbles,=,True,
[General Info],
Start Day,=,05/20/23,
Game Age,=,123 Days,
Last Extern Day,=,08/05/23,

If done in CVS format, SQLite (or other database) can import the data much easier and not require an extensive script or .bat file to get the data into separate tables.

_________________
Stoneslinger
http://theswampbbs.net
telnet://theswampbbs.net


Sun Aug 14, 2011 4:11 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 134 posts ]  Go to page 1, 2, 3, 4, 5 ... 9  Next

Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware.