Faking an lj-cut on your syndicated feed

Feb 10, 2008 19:55

So I got curious about how to effectively duplicate the effects of an on your journal's syndicated feed. s don't show up properly when syndicated; they get effectively skipped, and the cut text is lost, and the stuff hidden behind the cut is unveiled to the world.

But there is a way. I consider it subtle and beautiful in its hackish ugliness.

  1. Create a journal entry with the full text of the desired journal entry as seen behind the cut. There is no need to place an in this entry, although you may wish to if you do not need to see the full text of the entry uncut in your journal.
  2. Mark this journal entry as "Dated Out of Order" (which may be called "backdated" on older implementations of the LiveJournal codebase or in your client, if you're using one). This will make the entry not display on your journal's syndicated feed, in addition to not appearing on the friends pages of your readers. You will still see this entry in your journal. There is no need to alter the time that this post displays for this application, although for usability purposes you may want this to display as one minute before the second journal entry. (Having both entries display as the same time will break the previous/next behavior in your journal.)
  3. Create a second journal entry with only the text that you wish to have display outside the "cut". This entry will display in your syndicated feed and on the friends pages of your readers. Optionally, you can disable comments to this entry to force your readers to comment on the entry that contains the full text.
  4. Create a link inside the second journal entry with a link to the first (Dated Out of Order) journal entry. If you wish, you can format the link to better simulate an .
  5. A proper "fake cut" contains one of the following: This renders as:
Previous post Next post
Up