How to truncate a micro feed?
How to truncate a micro feed? or set a filter to display the last 5 posts etc?
Hi,
If you only want to show the last 5 posts in the site feed web part, then you use the code below to limit the numbers of posts:
<script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function () {
var limit=5;
$("#ms-feedthreadsdiv .ms-microfeed-thread").each(function(i){
if(i>=limit){
$(this).addClass("ms-hide");
</script>
However, you need to override the click event of the “SHOW MORE POSTS” button after using the code above.
And it is better to create your own site feed web part with default limit number of posts as 5.
https://social.msdn.microsoft.com/Forums/sharepoint/en-US/dac4a734-4d62-4ac7-b8a6-5d27b78c55de/how-to-set-the-item-limit-on-the-activity-feed-webpart-sp2013?forum=sharepointdevelopment
Best regards.
Thanks
Victoria Xia
TechNet Community Support
Similar Messages
-
How to have a live feed from application server log file (realtime viewr )
how to have a live feed from application server log file (realtime viewr for apps log files)
hi , thank you for reading my post.
is there any way to have a live feed of Application server log ?
for example is there any application that can watch the log file and show the changes as new log items come in ?
can some one with more experience help ?Your question would be more suited to the Developer Forums
http://devforums.apple.com
but anyway...
My goal is to develop a web application that is able to run on iPhone too, to capture the audio and video content from its camera and mic.
Web Apps running in Safari don't have access to the camera or mic hardware.
Or I should built a native application distributed through Apple store?
That is your only option, although such a system already exists:
http://itunes.apple.com/us/app/ustream-live-broadcaster/id319362690?mt=8 -
How to truncate data in a subpartition
Hi All,
I am using oracle 11gr2 database.
I have a table as given below
CREATE TABLE SCMSA_ESP.PP_DROP
ESP_MESSAGE_ID VARCHAR2(50 BYTE) NOT NULL ,
CREATE_DT DATE DEFAULT SYSDATE,
JOB_LOG_ID NUMBER NOT NULL ,
MON NUMBER GENERATED ALWAYS AS (TO_CHAR("CREATE_DT",'MM'))
TABLESPACE SCMSA_ESP_DATA
PARTITION BY RANGE (JOB_LOG_ID)
SUBPARTITION BY LIST (MON)
PARTITION PMINVALUE VALUES LESS THAN (1)
( SUBPARTITION PMINVALUE_M1 VALUES ('01') TABLESPACE SCMSA_ESP_DATA,
SUBPARTITION PMINVALUE_M2 VALUES ('02') TABLESPACE SCMSA_ESP_DATA,
SUBPARTITION PMINVALUE_M3 VALUES ('03') TABLESPACE SCMSA_ESP_DATA,
SUBPARTITION PMINVALUE_M4 VALUES ('04') TABLESPACE SCMSA_ESP_DATA,
SUBPARTITION PMINVALUE_M5 VALUES ('05') TABLESPACE SCMSA_ESP_DATA,
SUBPARTITION PMINVALUE_M6 VALUES ('06') TABLESPACE SCMSA_ESP_DATA,
SUBPARTITION PMINVALUE_M7 VALUES ('07') TABLESPACE SCMSA_ESP_DATA,
SUBPARTITION PMINVALUE_M8 VALUES ('08') TABLESPACE SCMSA_ESP_DATA,
SUBPARTITION PMINVALUE_M9 VALUES ('09') TABLESPACE SCMSA_ESP_DATA,
SUBPARTITION PMINVALUE_M10 VALUES ('10') TABLESPACE SCMSA_ESP_DATA,
SUBPARTITION PMINVALUE_M11 VALUES ('11') TABLESPACE SCMSA_ESP_DATA,
SUBPARTITION PMINVALUE_M12 VALUES ('12') TABLESPACE SCMSA_ESP_DATA
PARTITION PMAXVALUE VALUES LESS THAN (MAXVALUE)
( SUBPARTITION PMAXVALUE_M1 VALUES ('01') TABLESPACE SCMSA_ESP_DATA,
SUBPARTITION PMAXVALUE_M2 VALUES ('02') TABLESPACE SCMSA_ESP_DATA,
SUBPARTITION PMAXVALUE_M3 VALUES ('03') TABLESPACE SCMSA_ESP_DATA,
SUBPARTITION PMAXVALUE_M4 VALUES ('04') TABLESPACE SCMSA_ESP_DATA,
SUBPARTITION PMAXVALUE_M5 VALUES ('05') TABLESPACE SCMSA_ESP_DATA,
SUBPARTITION PMAXVALUE_M6 VALUES ('06') TABLESPACE SCMSA_ESP_DATA,
SUBPARTITION PMAXVALUE_M7 VALUES ('07') TABLESPACE SCMSA_ESP_DATA,
SUBPARTITION PMAXVALUE_M8 VALUES ('08') TABLESPACE SCMSA_ESP_DATA,
SUBPARTITION PMAXVALUE_M9 VALUES ('09') TABLESPACE SCMSA_ESP_DATA,
SUBPARTITION PMAXVALUE_M10 VALUES ('10') TABLESPACE SCMSA_ESP_DATA,
SUBPARTITION PMAXVALUE_M11 VALUES ('11') TABLESPACE SCMSA_ESP_DATA,
SUBPARTITION PMAXVALUE_M12 VALUES ('12') TABLESPACE SCMSA_ESP_DATA
ENABLE ROW MOVEMENT;
I have populate two sets of data.
One with Positive job_log_id and another with Negative job logid as given below.
Step 1:
Data going to PMAXVALUE Partition
INSERT INTO PP_DROP ( ESP_MESSAGE_ID, CREATE_DT,JOB_LOG_ID)
SELECT LEVEL, SYSDATE+TRUNC(DBMS_RANDOM.VALUE(1,300)), 1 FROM DUAL CONNECT BY LEVEL <=300;
Step 2:
Data going to PMINVALUE partition
INSERT INTO PP_DROP ( ESP_MESSAGE_ID, CREATE_DT,JOB_LOG_ID)
SELECT LEVEL, SYSDATE+TRUNC(DBMS_RANDOM.VALUE(1,300)), -1 FROM DUAL CONNECT BY LEVEL <=300;
Now the question is how to truncate the data that is present only in the Positive partitions subpartition
Like in the PMAXVALUE partition I have 10 subpartitions and I need to truncate the data in the JAN MONTH Partition only of the PMAXVALUE partition.
Appreciate your valuable response.
Thanks,
MK.For future reference:
http://www.morganslibrary.org/reference/truncate.html
The library index is located at
http://www.morganslibrary.org/library.html -
How to create an rss feed for a database application page
Hi
I need to create a web service for an apex application page so that it can be utilized and hosted another server of apex. For that we thought of creating an rss feed for that application page.
Please help me out how to create an rss feed for an apex page.
Thanks in advance.
Regards
Sandeep ArthamHi,
This might help
http://download.oracle.com/docs/cd/E23903_01/doc/doc.41/e21674/advnc_web_services.htm#sthref2628
Also Blog posts
http://tylermuth.wordpress.com/2008/01/22/producing-rss-from-plsql/
http://richmurnane.blogspot.com/2010/03/oracle-apex-creating-simple-rss-feed.html
http://www.apex-blog.nl/node/8
Regards,
Jari -
How do I update my feed?
Exactly how do I "update my feed in the fastest possible manner?" See below
After adding a new episode, update your feed in the fastest possible manner with the ping service by visiting this URL:
https://phobos.apple.com/WebObjects/MZFinance.woa/wa/pingPodcast?id=364602319
http://therealtalkradioshow.podbean.comAdd your episode - if you are using Podbean refer to their help - so that it wil appear in your feed, and publish the feed (i.e. upload it to replace the existing copy on the server: Podbean probably has a 'publish' button). It usually takes 1-2 days for the iTunes Store to pick up new episodes (though subscribers will see them immediately).
'Pinging' the Store using the link you give is supposed to make it check your feed sooner, but I've never been convinced that it makes any difference. It can do no harm, at any rate.
Incidentally the link you give is to the website for your podcast: the actual feed is at
http://therealtalkradioshow.podbean.com/feed -
How to truncate the floats?
I like to know how to truncate the floats to 2 decimal points because when I got 500.00 - 0.10, I get 499.9000000000...
So how do I say 499.90?Try using NumberFormat class:
NumberFormat currency = NumberFormat.getNumberInstance();
currency.setMinimumFractionDigits(2);
currency.setMaximumFractionDigits(2);
String s = currency.format(anyFloatValue);
.. -
IWeb generated my podcast, how do I edit the feed?
I would like to add a title and artwork to my podcast, which has been created in iWeb and successfully submitted to the iTunes store. I know I need to add these to the feed, but don't know how to access the actual feed, since iWeb did all that work for me. How do I insert the image and title into my feed?
Thanks!You can't edit the feed - at least, you could download it, edit it, and re-upload it - but iWeb would overwrite it the next time you added an episode so there's no point.
You can add title on the Podcast page of your site in iWeb - there should be a placeholder for it; and in most (though I believe not all) themes there is a placeholder for you to drag an image.
If it's not clear how to do this, or from the Help, you could ask in the iWeb Forum. -
How can I receive RSS feeds into MAIL?
How can I receive RSS feeds into MAIL? I was able to do that using LION; now using Maverick.
RSS support was removed from Mail and Safari. You'll have to use a third-party app.
Options:
NetNewsWire
Red Sweater subscribe to feed
Alternative RSS solutions for Mac and iOS users -
hello friends
I created a table called log as follows
create table log(logid number,login_date date);
insert into log values(101,sysdate);
after 10 mins i created a cursor as follows..
declare
uname varchar2(30);
logdate date;
cursor name_c is
select logid,login_date from log where logid=101 and login_date=sysdate;
begin
open name_c;
fetch name_c into uname,logdate;
if(name_c%FOUND) then
dbms_output.put_line( 'FOUND');
end if;
close name_c;
end;
set serveroutput on;
PL/SQL procedure successfully completed.
But i got no result..I found the reason that when i insert into table sysdate stores all fields
including hour,min,sec etc.. But i fetch cursor sysdate[After 10 min] So the time fields change.So only the cursor fetch no rows...Please help me to fetch the row from log table..
How to truncate sysdate field to fetch only date like('18-feb-2011')..hi there
use trunc(sysdate) in ur cursor
and one more thing
use
exit when name_c%notfound;refer this
DECLARE
uname VARCHAR2 (30);
logdate DATE;
CURSOR name_c
IS
SELECT logid, login_date
FROM LOG
WHERE logid = 101 AND trunc(login_date) = trunc(SYSDATE);
BEGIN
OPEN name_c;
FETCH name_c INTO uname, logdate;
exit when name_c%notfound;
IF (name_c%FOUND)
THEN
DBMS_OUTPUT.put_line ('FOUND');
END IF;
CLOSE name_c;
END;
/regards
Hitesh -
How do i manage rss feeds within fire fox
i see no way to create rss folders so that i can manage many rss feeds from different web sites. there is the latest headlines button on the favorites bar (which came loaded with bbc) but i have no idea how to manage this as one would a standard rss feed reader.
As well; i don't know what the next up button is? how it works or how to manage?RSS feeds are loaded from a server via an XML file with the feed items. You can't edit that list. All you do is to create a bookmark with the feed URL by visiting the feed page.
You can find the RSS feed (Subscribe) button in the toolbar palette in the "View > Toolbars > Customize" window and drag the button on a toolbar.
* RSS Icon: https://addons.mozilla.org/firefox/addon/rss-icon/
Press F10 or press and hold the Alt key down to bring up the "Menu Bar" temporarily. -
how do you import RSS feeds into FF? i have exported opml file out of IE8 but can't find how to import this into FF?
See OPML Support: https://addons.mozilla.org/firefox/addon/2625
-
How do i download micro soft office for Mac
How do i download micro soft office for Mac
http://www.microsoft.com/en-us/default.aspx (for US)
and select Downloads. You can pay and download from there. -
How to hide the Form Feed char in JTextArea
We have reports (written in C) that are being displayed in a JTextArea.
In our old app, the Form Feed character (ASCII 12) was invisible naturally without having to code around it. In a JTextArea, it appears as a "[]" character. Does anyone know how to make this character invisible to the JTextArea? Removing it is not an option, as it is needed for it's print routine.
I've been searching these forums and the web all morning with no luck.Not sure how the Form Feed character worksIt lets the printer know that a new page is to be started at that point.
Does it always appear with the New Line character?Usually but not always.
Thanks for the reply. It's more involved than just printing standard lines of text, so perhaps I should have been more clear.
The C report already has pagination built in from when it was run from our legacy GUI. In other words, each report knows how many chars wide and how many lines down each page will be. It is different for each report, but they all hover around 150 chars wide and 60 lines down per page, since they are all presented to the user (and printed) in landscape.
In the C code: at the end of each report line a "\n" is appended. At the end of each page, an ASCII 12 character is appended. A header is at the top of each page (different for each report, but usually 2 or 3 lines) that shows the page # and other info.
So, as you are viewing the report, you would see page 1 header, some report content, page 2 header, some more report content, page 3 header, etc. as you scroll down.
So now if you view it in Java: if the user wishes to print, the report is sent to our ReportPrinter class, who tokenizes the report based on "\f" and makes a ReportPage object (implements Printable) for each token. Each ReportPage is then appened to a java.awt.print.Book object, who in turn is sent to the PrinterJob.
Given that the report already has his pages figured out and has a form feed char at the end of each page, the report comes in to the JTextArea with [] chars preceding each page header (approximately every 60th line, depending on the report).
I tried using a JTextPane, but no luck. It was also much slower reading in the report. I just want the textpane to not display the non-printable characters ("\f" in this case). -
How to suppress extra form feed for character report printing using ORARRP?
Dear All,
We are using Oracle Application Server 10g (10.1.2.0.2) on Windows 2003 Server and most of our client PC's are Windows XP Professional machines. We are migrating our existing oracle application from 2-tier architecture to 3-tier architecture (6i to 10g). We have installed ORARRP utility for remote direct printing and to a limited extent we are successfull in getting the things work out for our system users, However, we are facing a problem using the ORARRP utility for which we are not able to find a solution till date.
We have configured ORARRP utility on every user's PC and the printing of bitmap reports is working well. However, while printing CHARACTER reports using ORARRP utility, after the report gets printed, an EXTRA FORM FEED is issued by ORARRP to the printer and because of this the printer stationary skips one extra page and advances to the next page. Please note that this EXTRA FORM FEED happens only while printing a CHARACTER REPORT.
Has anyone come across such a problem using ORARRP ? How can we avoid this extra FORM FEED from CHARACTER REPORT printing using ORARRP ? Is there any other tool which supports remote direct printing just like ORARRP?
I shall be highly obliged if anyone could reply to my queries ASAP.
Regards,
KrishnaKumar SPlease help ! I tried the "send_form_feed" and "postscript_dos_print" parameters without success. The extra form feed is always there. Thanks.
-
How to truncate the values from the table
Hi All,
I am working on an issue..where we are first deleting all the records from the table and then based on few conditions we are putting the records back in that table...when we tried to run this program along with few others those who are doing almost the same stuff we are having issues...we tried to schedule few jobs related to these programs only...but after a ceratin amount of time couple of jobs got canceled...I was talking to my basis guy and he said the problem is ratehr then truncating the records from the table we are deleting the records and it's taking lots and lots of space to execute...so we need to truncate the records from the table insted of deleting it...we are using the following the statement right now:
DELETE FROM ZTUS_PG.
COMMIT WORK.
So can you please tell me how can we truncate the values from this table instead of just deleting them and what would be effect of this.
Thanks,
Rajeev GuptaI don't think basis is saying you should delete all the records from the table. They are saying remove the table and it's contents (a much faster thing to do). I'm not sure this the right thing to do, but you can have a look at:
http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=/com.ibm.db2.udb.apdv.sample.doc/doc/admin_scripts/s-truncate-db2.htm
Something like:
EXEC SQL.
TRUNCATE TABLE ZTUS_PG REUSE STORAGE
ENDEXEC.
COMMIT WORK. "Empty table is committed here
Rob
Edited by: Rob Burbank on Dec 1, 2008 4:06 PM
Maybe you are looking for
-
How to use the variables used in the message mapping
Hi , In the message mapping we can declare variables in the JAVA section , these variables could be used across the mapping . I have tried using it but I am unable to retrieve the values assigned to the variables in one UDF into the another UDF . Ple
-
Hi all, Getting sort of desperate here. I've got an mid 2011 iMac 27 (12,2) that's suffering from massive crashing. I run time machine so I'm not too concerned about data. Running Mavericks right now for an OS What's happening is that from time to ti
-
After software update to 10.5.7 I face this problem: When I use the short keys to put my Macbook Pro to sleep mode it simply crashes and I can only use the hard way to close it down (holding down the start button for a while to it closes down). If I
-
HT4623 Iphone 3g has no update setting how can i get ios5 for icloud
I have no update setting on my iphone3g. i received an ipad for Xmas. Need to update phone to ios5 to use icloud. Can and how do I do this? I'm a senior trying to figure this stuff out. I admit, I'm out of my realm. Any easy tutorials?
-
Names of days on screen - what is that??
Hi all Apple-fans! For some days now I have discovered that when I am moving my mouse-arrow around on the screen, there comes small yellow rectangles showing up, and in these there is names of the days in the week, monday, tuesday, wednesday, thursda