Välkommen till notessidan, Klicka på rubrikerna för att gömma och visa poster

Gå till förstasidan
Behöver du en snabb och effektiv konsult för Lotus Notes och Domino eller en offert på en applikation ?  kontakta mig nu
  Sök
 Lotus Notes Twitter v2  4 / 13
Twitter v2



TWITTER V2 - CHANGE LOG

  • Import of avatars are now optional in configuration
  • Debugmode is now a setting in confguration
  • Timezone is now a setting in confguration
  • If avatars is not available to download it is added to the ignorelist
  • Added blue color to selected entries in outline
  • Changes agent security option to level 3 (must be 2 or 3 to run on server)
  • When opening a twitter post and if there is a link in the statusmsg the link is now clickable
  • Added a preview function where the 20 latest twitters are showed in a richtext field (test action)
  • Only one logdocument is now created every day
  • Preview documents are removed each each time the twitter agent runs
  • Fixed an issue where Tweeters was added multiple time, (Please Remove all your tweeters for this to work)
  • Fixed a problem with encoding/escaping of characters.
  • Improved errorhandling when retrieving and posting twitters.
  • Release notes have been moved to a seperate section under admin
  • Actions are now showed in a better way in views.
  • Avatars are now imported as image resources into the application and can be showed in views and documents. all avatars are converted to jpg and resized.
  • Date and time are now stores as correct Lotus notes dates
  • Added and Advance Tools menu to all views allowing user to do application maintenance without needing desginer.
TWITTER V2 KNOWN ISSUES

  • Only replies to other posts are showed (i.e not replies to users)
  • When avatars is created the application need to be re-open before the avatars are showed in views.
TWITTER V2 MAIN FEATURES

  • Gets twitters the configured user are following from the interne
  • Twitter replies are displayed in a responsehierarchy.
  • User can Post new twitters or reply to other posts
  • Unread marks allow users to visually follow new posts.


Download Twitter v2 here

See also Twitter v1
Lämna gärna en kommentar
3 jan 2009  |   Länk till denna post | 4 personer gillar denna post   
369823A9CBCDCAD1C1257533003142D938.107.191.99
Kommentarer:13
2009-01-30 06:39:19 CET - Greg Walrath
Any problems with the agent? I'm running it on my notes 8.5 client, and I get the error 'NO RESUME' when trying to manually run the update agent. I've signed it with my ID.
2009-02-03 20:58:51 CET - Kevin Pettitt
The agent apparently requires Windows so you must either run it from your Windows client or a presumably a Windows Server. If you the former is your only option, then you must enable local background agents in your client preferences. I got it to work after 1) enabling background local agents, 2) restarting the Notes client, and 3) resaving the agent while setting it to run on "Local" instead of "Any Server".
2009-01-09 22:54:10 CET - Patrik Brinkhäll
Hej, Thomas!
Jag installerade Twitter v2, lade till robertbrook, lisa bettany samt betaalfa å körde manuell update. Robertbrook's data kom in men inget annat, no resume. Konstaterade sedan att det inte går att skriva tweets med citattecken. Vi ses kanske på Lotusphere om en sisådär en vecka.
2009-01-29 19:26:09 CET - Kevin Pettitt
So nice I blogged it: http://www.lotusguru.com/lotusguru/LGBlog.nsf/d6plinks/20090129-7NRM2J

:-)
2009-01-03 11:14:39 CET - Almar Diehl
Hi Thomas.

great application!
2009-01-09 23:03:25 CET - Thomas
Hej Patrik

Kan du kolla i logvyn om du ser nåt, eller om det syns vilken rad som går fel i statusraden

- Thomas
2009-04-28 18:56:34 CEDT - Ken
I am having what appears to be network connection difficulties.
I am guessing this is the proxy.
I can use Twitter in Chrome.
I would have thought if I can access it is Chrome then I can access it with this in Notes.
2009-06-15 14:24:12 CEDT - Sjaak Ursinus
Tomas,

I really like your application !! Only one odd thing found till now. It seems that sometimes the day and month data isn't picked up correctly form the retrieval agent. Did you experience that problem as well ?

2009-07-30 23:36:56 CEDT - JakeJBlues
Thanks :-) It is great!
2009-09-01 17:31:42 CEDT - Frank Wiele
I have the same problem as Sjaak Ursinus. I thinkt the time format of the operating system causes this. Here in germany we use dd.mm.yyyy. So the paramter of session.CreateDateTime(...) has to be in correct format.

I've modified the agent "getTwitter" and it works nearly perfect right now. (I still have the “NO RESUME” error during manual update.)

Here's how you do it:

Replace line 74 in initialize of “getTwiitter” agent "fulldate = yr + "-" + mo + "-" + dy + " " + Tm" with this here:

If (session.International.IsDateDMY) Then
fulldate = dy + "-" + mo + "-" + yr + " " + Tm
Elseif (session.International.IsDateMDY) Then
fulldate = mo + "-" + dy + "-" + yr + " " + Tm
Else
fulldate = yr + "-" + mo + "-" + dy + " " + Tm
End If



I've created an agent to repair current docs/tweets, too. It uses the getMonth(..) function of the getTwitter agent. I've simply copied it to the new agent.

Sub Initialize
Dim session As New NotesSession
Dim db As NotesDatabase
Dim profdoc As NotesDocument
Dim toGMT As Integer

Dim ndc As NotesDocumentCollection
Dim nd As NotesDocument

Set db = session.CurrentDatabase

Set profdoc = db.GetProfileDocument("Config")
If profdoc Is Nothing Then Print "Could not find profile doc",64,"Info":Exit Sub

toGMT = profDoc.ToGMT(0)
If Cstr(toGMT) = "" Then toGMT = 0

Set ndc = session.CurrentDatabase.UnprocessedDocuments
Set nd = ndc.GetFirstDocument()

While (Not nd Is Nothing)

Dim d As String,dy As String, mo As String, yr As String, fulldate As String
d = nd.GetItemValue("TWITTER")(0)

' Need to handle this strande date format: Fri Dec 12 11:57:04 +0000 2008

mo = getMonth(Mid(d,5,3)) ' Month
dy = Mid(d,9,2) ' day
tm = Mid(d,12,8) ' Time
yr = + Mid(d, 27,4) ' Year

If (session.International.IsDateDMY) Then
fulldate = dy + "-" + mo + "-" + yr + " " + Tm
Elseif (session.International.IsDateMDY) Then
fulldate = mo + "-" + dy + "-" + yr + " " + Tm
Else
fulldate = yr + "-" + mo + "-" + dy + " " + Tm
End If

Set dt1 = session.CreateDateTime(fulldate)

Call dt1.AdjustHour(toGMT)

Call nd.ReplaceItemValue("DateCreated", dt1)

Call nd.Save(True, False, False)

Set nd = ndc.GetNextDocument(nd)
Wend
End Sub
2009-10-22 01:11:50 CEDT - Max
Very cool!!!

I have two questions:
1) I enabled the agent to run on local and I tried to enable background local agents (not sure if the setting Kevin is referring to is the one available from File --> Preferences but that is what i enabled) - the outcome is that I get the tweets even though I still get the "No RESUME" error message. Any idea?

2) I noticed that if I post a tweet, it doesn't display in the view but does display from the "Your Status" action. Also I noticed that once I run the agent some older tweets under my twitter ID are downloaded but not the last one (most recent one) I sent. Again any idea would be appreciated.

Thank you
2009-10-23 22:09:19 CEDT - Thomas
Hello Max
I am sorry I have no time supporting this application. feel free to make your own adjustments or ask another developer to help you.


Thanks
Thomas
2010-08-18 13:05:01 CEDT - don
We are running this database for some time now until yesterday it worked pretty good but we have made some modifications because Twitter changed the XML stream.

Right now the line:
nodes(i).childnodes(9).childnodes(0).text
will produce errors with some tweets because the user is not element 9 anymore. Mostly this is 10 or 11 but sometime 9... ;-(

We have put an extra test in the code if the element exits and then put the right number in the following code but it should check for the <user> tag and go from there but I'm nog really familiar with the dom-parser that is used.

Maybe you want to have a look at this sometime. Works for now for us again.
Kommentera denna post:
Namn:
Epost:
Skriv en kommentar:




Observera: Om du skriver en giltig epost adress kommer du få mail om någon annan svarar på denna post. Din epost adress visas aldrig här.

Du kommer också få ett bekräftelsemail inom 5 minuter, om  inte, kontrollera din spam folder och makera meddelandet som "inte spam" så kommer det till din inbox nästa gång.
 Prenumerera på nya poster
Senaste Kommentarerna

Cisco VPN klient på 64 bitars Windows 7 (7)

Från: mattias

genom ett giltigt supportkontrakt

Lotus Notes Twitter v2 (13)

Från: don

We are running this database for some time now until yesterday it worked pretty good but we have made some modifications because Twitter changed the XML stream. Right now the line: nodes(i).childnodes(9).childnodes(0).text will produce errors with some tweets because the user is not element 9 anymore. Mostly this is 10 or 11 but sometime 9... ;-( We have put an extra test in the code if the element exits and then put the right number in the following code but it should check for the tag and go from there but I'm nog really familiar with the dom-parser that is used. Maybe you want to have a look at this sometime. Works for now for us again.

Cisco VPN klient på 64 bitars Windows 7 (7)

Från: Thomas

tack för det, hur får man tillgång till den tro

Cisco VPN klient på 64 bitars Windows 7 (7)

Från: Jonny L

FYI! Cisco har släppt en x64 IPSEC VPN klient!

Hur ändrar man språk för stavningskontroll i Lotus Notes? (9)

Från: Thomas Andersson

Jag kör Notes 8.5 på svenska och med svensk stavningskontroll som primär. Förutom liknande erfarenhet som Jonas så störs jag över att stavnings kontrollen en visas med att före slå att jag ska sär skriva det mesta. ---/Thomas

Några användbara sökningar i lotusscript (6)

Från: Thomas Adrian

vaddå tråkig vy, det beror väl på hur mycket fantasi du har. bygg ett formulär som visar resutlatet snyggt eller visa det ännu snyggare på webben. -Thomas

Några användbara sökningar i lotusscript (6)

Från: Göran Hedström

Ok! Inga problem med detta, men kan någon begripa hur man kan påverka hur resultatet presenteras efter sökningen. Snacka om tråkig vy!?!

Stryktipset i Lotus Notes (5)

Från: Raymond

Hej, Kanske är det inte aktuellt längre men jag måste ge dig ett tips: www.molntipset.se Här har du allt kring Stryktipset som du försöker lägga upp i Lotus Notes. /R

Hur ändrar man språk för stavningskontroll i Lotus Notes? (9)

Från: Thomas Adrian

Hej Jonas , jag får samma resultat som du, verkar inte som det företaget som IBM köper språkfiler från gör ett så bra jobb.

Hur ändrar man språk för stavningskontroll i Lotus Notes? (9)

Från: Jonas Hallgren

Finns det en "bättre" svensk ordlista att ladda ner någonstans? Kör även jag 8.5.1 och alldeles för ofta varnar notes för felstavat ord, när det inte är det. Skulle precis skriva "Jag sökte dig idag" Och "sökte" var inte ett giltigt svenskt ord, den föreslog exempelvis "sköte ". Andra ord jag fått lägga till själv: tänkte, riktiga, uppgradera, åtkomliga, aktuella. Det är rätt vanliga ord, varför gör Notes fel? /Jonas

Kategorier



Footer
klicka för att ladda om notessidan