Topic: [Snippet]Trackback 0.5 available  (Read 16266 times)

Pages: [1]   Go Down

#1: 15-Aug-2006, 09:30 AM


florian.l
Posts: 40

WWW
Is there something in developement regarding Trackbacks already?
I'd love to have some/seed some in my MODx blog.
If no one developes a snippet/plugin/whatever I'll try to have a look at it.

Anyone interested in colaboration?

! ! ! VERSION 0.5 AVAILABLE FOR TESTING PURPOSE ! ! !
See the enclosed readme.txt for info on how to install and use.


Feedback welcome.

* trackback_v05.zip (10.34 KB - downloaded 444 times.)
« Last Edit: 21-Aug-2006, 04:22 AM by florian.l »

#2: 15-Aug-2006, 10:05 AM

Foundation

OpenGeek
MODx Co-Founder
Posts: 6,972

damn accurate caricatures...

WWW
Is there something in developement regarding Trackbacks already?
I'd love to have some/seed some in my MODx blog.
If no one developes a snippet/plugin/whatever I'll try to have a look at it.

Anyone interested in colaboration?

Though nothing specifically with trackbacks yet, there is effort under way to the core which will make it much easier to create any kind of web or ajax service within MODx.  But if you are interested in getting a trackback component or two up and running with the current MODx, the work, though it might need to be refactored once the new architecture is available, would still be invaluable to the efforts and I'm always interested in collaboration on important components such as this.
 Cheesy
Cheers
Jason Coward
MODx Co-Founder
xPDO Founder
CTO @ Collabpad
work productively.
work intelligently.
work together.
Light is just a vibration of a note too. Everything is. You've got to keep that in mind.
  Frank Zappa

#3: 16-Aug-2006, 03:30 AM


florian.l
Posts: 40

WWW
Ok, things start working  Cheesy
So far I managed to save trackbac infos from another Blog (e.g. Wordpress) into a MySQL-Table. From there it should be easy to get this content on the specific MODx site.

Things I hardly work on now:
- Create a TV that sends a TrackBackPing to another blog.
- get as much bubblegum in my mouth as possible

#4: 16-Aug-2006, 06:43 AM


florian.l
Posts: 40

WWW
I love MODx!!!!

Got that thing wokrin' baby. The snippet is used very easy. At the moment I'm trying to ping other blogs. The function works fine but I need to implement that into MODx document creation.

- Save trackback info from another blog in database: CHECK
- Show trackbacks on document: CHECK
- Use your own Chunk for displaying the trackbacks: CHECK
- Ping other blogs to leave trackbacks: PENDING (must find a way to do it) I think this works with a TV. Can someone give me a hint.

#5: 16-Aug-2006, 09:56 AM

Marketing & Design Team

davidm
MODx evangelist
Posts: 7,073

The best way to predict the future is to invent it

WWW
Can't point you in the right direction or help with the code there, but trackbacks for MODx, that's cool news for MODx bloggers, florian Grin
Keep up the great work !
.: nodeo.net : Pour un web libre, moderne et ouvert ! :: david-molliere.net : Suivez en "live" mes expérimentations et billets sur les CMS et autres applications web :.

*** Forums modxcms.fr Participez à l'élaboration du site MODx francophone ! ***

! Nouveau !  En live, ne manquez pas les news de modxcms.fr sur Twitter   ! Nouveau !

MODx est l'outil idéal pour les developpeurs et webdesigners qui cherchent un framework de gestion de contenu hautement flexible et performant, tout en étant simple d'accès pour les utilisateurs finaux.

Config : Apache 2.2.8 - MySQL 5.0.67 - PHP 5.2.8 | Debian 4.0 (Etch)

Réalisations sous MODx : | pargade-notaires.fr | soleil.info | gican.asso.fr | michelez-notaires.com | amadom.gerondicap.com | jocelyne-violet.net

#6: 16-Aug-2006, 11:01 AM


florian.l
Posts: 40

WWW
Ok, ok

I think I can archive this feature (sending a ping) via TVs and a PlugIn (with OnDocumentFormSave).
But it keeps giving me an error: parse error, unexpected T_INCLUDE

Any Idea about that error message? If so I may release an alpha soon.
THX, Flo

#7: 16-Aug-2006, 11:10 AM

PaulGregory
MODx's midnight runner
Posts: 1,097

MODx's midnight runner

WWW
Basically the parser's hitting an include when it expected something else.
9 times out of ten an "unexpected T_WHATEVER" means a missing ; or similar in the previous line.
No, I don't know what OpenGeek's saying half the time either.
MODx Documentation: The Wiki | My Wiki contributions | Main MODx Documentation
Forum: Where to post threads about add-ons | Forum Rules
Like MODx? donate (and/or share your resources)
Like me? See my Amazon wishlist
MODx "Most Promising CMS" - so appropriate!

#8: 16-Aug-2006, 01:09 PM


florian.l
Posts: 40

WWW
Resolved!

Seems the problem related to bad inclusion.
I checked almost 50 methods (really!) to "include" the trackback class and finally made it.

For others facing that problem:
If you write a plugin and try to include a file, do it this way:
include $this->config["base_path"]."path/to/file/include_me.php";

Nothing else seems to work fine (beside from writing the whole code of the inclusion file down Smiley )

By the way: TrackBack is working very well.
« Last Edit: 21-Aug-2006, 04:20 AM by florian.l »

#9: 21-Aug-2006, 04:21 AM


florian.l
Posts: 40

WWW
Beta 0.5 available. See first post for download.

#10: 3-Jan-2007, 01:45 AM


almays
Posts: 49

WWW
Hello!

As far as I get if I want to receive trackbacks I have to create '/trackback' page under every post that will accept trackbacks. Or can I have only one trackback-receiver page for all documents? If it is possible then how can I pass the commented document id to the single trackback page?

And how can the trackbacks flow be mixed up with Jot comments in a sort by date?

#11: 31-Jan-2007, 10:08 AM

Leftblank
Posts: 254

Not as empty-brained as you'd think.

WWW
The following error shows up on my /trackback page, do you have a clue what might be cuasing it florian?
Code:
Fatal error: Cannot redeclare class trackback in /chroot/home/leftblan/html/assets/snippets/trackback/trackback_cls.php on line 28

#12: 31-Jan-2007, 11:08 AM

Xsss4hell
Posts: 141

Believe or not I'm member #6666 =(

ouh yeazz exactly whuuta need!

thX dude!

#13: 31-Jan-2007, 12:02 PM


florian.l
Posts: 40

WWW
Hi,

I have been off for a while, sorry.
I'm expecting some jobs, which I'd like to be managed by modx, so I will work myself back into the system.

I just think about rebuilding the code and optimizing it for modx.
At the moment it uses an external library (php trackback class) which is not well formed at all.

I'll keep you up with info.

#14: 31-Jan-2007, 12:44 PM

Leftblank
Posts: 254

Not as empty-brained as you'd think.

WWW
Hi,

I have been off for a while, sorry.
I'm expecting some jobs, which I'd like to be managed by modx, so I will work myself back into the system.

I just think about rebuilding the code and optimizing it for modx.
At the moment it uses an external library (php trackback class) which is not well formed at all.

I'll keep you up with info.
Thanks a lot, can't wait to see an update Wink

#15: 22-Nov-2007, 01:24 AM

wiremuse
Posts: 13

Is this or anything like it still being worked on for TrackBack support?
Pages: [1]   Go Up
0 Members and 1 Guest are viewing this topic.