Automatically cut entries from syndicated feeds
Title:
Automatically cut entries from syndicated feeds
Area:
entries
Summary:
I would like to be able to set a preference whereby all entries from syndicated feeds (or all those over a certain length) would be automatically placed behind a cut on my Reading page.
Description:
I subscribe to a lot of syndicated feeds. Many of these feeds come from blogs where cut tags are not used at all, and the posts are often very long and/or contain multiple photos. I would like a way to reduce the amount of space taken up by these posts on my Reading page.
I don't know how this could be accomplished from a coding perspective, but as an end user what I'd like to see is a preference somewhere in my account settings that would let me automatically place all entries from feeds behind a cut. It would be even better if it were sensitive to the length of the entry -- if, for example, it could leave the first 100 words uncut as a teaser and place the rest behind a cut.
Now that we have expandable cut tags, it would be very easy for users to expand and read the entries if they wanted to, and it would save a lot of clutter on Reading pages.
It would be awesome if any solution to this could apply to Network pages as well as Reading pages.
Thanks for your consideration!
This suggestion:
Should be implemented as-is.
35 (72.9%)
Should be implemented with changes. (please comment)
2 (4.2%)
Shouldn't be implemented.
0 (0.0%)
(I have no opinion)
11 (22.9%)
(Other: please comment)
0 (0.0%)

no subject
http://dw-suggestions.dreamwidth.org/354868.html
no subject
no subject
no subject
no subject
no subject
no subject
.journal-type-Y .entry-content {display:none;}
onto Custom CSS will hide the entire text of the entry from display. Unfortunately, it also hides the link to the actual off site entry, as while the link is given its own class (.ljsyndicationlink), the rest of the text isn't and just follows on, it's not even automatically put into a separate P (the link is). display:none hides everything, and to my knowledge (and I'd love to be corrected) can't be overriden.
So for most of us, as we need the link, hiding the text isn't really an option. If, however, the feed module encased the entry into something, a DIV or possible a SPAN would make sense, say div class="ljsyndicationcontent" then hiding it would be really really easy.
(I think this may be classed as a bug, not sure, and I suspect it's a five minute fix)
(also? I'm not actually that good at CSS, I just like finding little tricks and fiddles)
@juniperphoenix if you don't fancy hiding the link normally, but do need to hide something for a specific feed, you can hide on a feed by feed basis, replace .juornal-type-y above with .journal-never_trust_a_hippy_feed (or whatever the feed account is called, that happens to be the feed I'm looking at the source code for)
no subject
(And, if you can't find a way to save the link from being shrunk, it's always the first line, always a link, and fairly easy to target even at 1% size, at least for me.)
no subject
Drawback is it'll mess up all style=mine displays. Except reading pages have their own class as well, anyway. So it might actually work. Won't work if there's inline styling or font sizing, but that's rare these days.
OK, that's some code I can probably actually get working this afternoon (I'm theoretically working on turning my layout into usable layers, first time at trying to actually code it properly instead of case-by-case hacking)
Sorted-nearly hiding feed content
.page-read .journal-type-Y .entry-content { font-size:1px}
.page-read .journal-type-Y .entry-content .ljsyndicationlink {font-size:14px}
.page-read .journal-type-Y .entry-content .lj_embedcontent, .page-read .journal-type-Y .entry-content img {display:none}
http://www.dreamwidth.org/customize/options.bml?group=customcss
I picked 14px for the link size (which isn't always first, author displays first if there is one), and have hidden embeds and images, can't think of anything else that might get through but you never know, and of course individual blogs can override it.
Not ideal, and not what the OP actually wants, but a workable hack; hopefully the content itself'll get a class ASAP.
no subject
But given you want it as an option, and we've the expanders, it makes sense. I'll probably not use it, I do like to just hit space, but that may change if Opera Mobile doesn't give me back a page down feature and I start working away from home more.
no subject
no subject
no subject
This concept builds off the way that loudtwitter et al tend to wrap their entries in a specific style, and then people can choose to style entries containing that thing in a different fashion, if their coding is up to it.
no subject
no subject
no subject
/* Optional for a little bit extra of white-space collapsing ... (cont'd below) */
.page-read .journal-type-Y .entry-content>:nth-child(6)~img+br,
.page-read .journal-type-Y .entry-content>:nth-child(6)~img+br+br,
.page-read .journal-type-Y .entry-content>:nth-child(6)~br+br+br+a,
.page-read .journal-type-Y .entry-content>:nth-child(6)~a+br+br+br,
.page-read .journal-type-Y .entry-content>:nth-child(6)~img+br+br+br,
.page-read .journal-type-Y .entry-content>:nth-child(6)~br+br+br+a+br,
.page-read .journal-type-Y .entry-content>:nth-child(6)~br+br+br+a+br+br,
/* (con'td from above)... on pixspams! Feel free to delete this block */
/* Optional for longass color-coded rollcalls such like userid=430272*/
.page-read .journal-type-Y .entry-content>:nth-child(6)~br+span[style*='color'],
.page-read .journal-type-Y .entry-content>:nth-child(6)~br+span[style*='color']+br,
/* the rest is meat and potatoes, or cloud and herring according to cuisine: */
/* truncate long lists in upper excerpt */
.page-read .journal-type-Y .entry-content blockquote~*,
.page-read .journal-type-Y .entry-content blockquote>:not(:nth-child(-n+3)),
.page-read .journal-type-Y .entry-content>:not(:nth-child(-n+6)) img,
.page-read .journal-type-Y .entry-content *>li:not(:nth-child(-n+3)),
.page-read .journal-type-Y .entry-content dl>:not(:nth-child(-n+3)),
/* unblock block.... inline tags to KEEP scraped off faqid=155 */
.page-read .journal-type-Y .entry-content>:not(:nth-child(-n+6)):not(a):not(abbr):not(acronym):not(b):not(bdo):not(big):not(br):not(cite):not(code):not(del):not(dfn):not(em):not(font):not(i):not(ins):not(kbd):not(s):not(samp):not(strike):not(strong):not(sub):not(tt):not(var),
/* ... */
.page-read .journal-type-Y .entry-content>[src*='//feeds.feedb'],
.page-read .journal-type-Y .entry-content>[href*='/advertis'],
.page-read .journal-type-Y .entry-content>[src*='/advertis'],
.page-read .journal-type-Y .entry-content>[href*='//ads.'],
.page-read .journal-smashing_feed .entry-content>.ljsyndicationlink+table
{display:none!important}
/* example marks the spot */
.page-read .journal-type-Y .entry-content>:nth-child(6),
.page-read .journal-type-Y .entry-content blockquote>:nth-child(4),
.page-read .journal-type-Y .entry-content *>li:nth-child(4),
.page-read .journal-type-Y .entry-content dl>:nth-child(4)
{content:"etc \27BD";font-style:normal!important;font-variant:normal!important;font-weight:normal!important;font-size:larger!important;font-family:"Bitstream Cyberbit",Georgia,serif!important;text-align:center!important;left:0;width:13ex!important;height:3ex!important;word-spacing:5ex!important;display:block!important;padding:.3ex 03ex3ex!important;margin:0 0 1ex 0!important;border:2px solid}
.page-read .journal-type-Y .entry-content>:nth-child(6)
{color:oldlace!important;background:tomato1!important;border-color:oldlace}
.page-read .journal-type-Y .entry-content blockquote>:nth-child(4),
.page-read .journal-type-Y .entry-content *>li:nth-child(4),
.page-read .journal-type-Y .entry-content dl>:nth-child(4)
{color:tomato1!important;background:oldlace!important;border-color:tomato1}
IHNI what means unless it's something to do with beloved Son of Walsall John Byrne!
trollspassersby whom may or may not actually be part of your constituency can be helpful sometimes also. I'm sorry you choose not to keep the ideals of anonymous commenting alive!!no subject
no subject
.poster-sexisnottheenemy_feed .entry img { display:none }
Go to "Customize Your Journal Style" and paste that into the custom CSS field. The sexisnottheenemy posts will still appear on your Network page, but the images won't display.
You can use this to hide images from any feed; just substitute the feed name for "sexisnottheenemy_feed" above.
no subject