How to count hits on external navigation nodes ?
Hi there,
our navigation is a mix of PCD generated navigation nodes and those generated by an external navigation connector.
Now we can count hits on the PCD nodes (which are basically related to iviews) using "Portal activity report" .
BUT how could we count the hits on the "external" nodes ?
Any ideas ?
Greetings
wawo
Aliette, you can use the Portal-monitoring for this. See also this discussion
"http://technet.oracle.com:89/ubb/Forum70/HTML/001350.html", because it's not 100% proof.
Similar Messages
-
HOW TO COUNT IMMEDIATE CHILDREN OF A NODE?
Hi
I need count the immediate children for all node of a tree with analitic functions.
Somebody have any idea?.
tyHi,
Sg049 wrote:
Frank,
OP was asking for Immediate children.That's right. The query I posted shows how many immediate children each node has, even if that number is 0.
(Of course, it depends on what "immediate children" means. This is one example of why it's so important to post the exact results wanted from a given sample data set.)
Where is that query going wrong? If we add mgr to the SELECT (and GROUP BY) clause (just to make it easier to debug),
SELECT m.empno
, m.ename
, m.mgr
, COUNT (e.empno) AS children
FROM scott.emp m
LEFT OUTER JOIN scott.emp e ON e.mgr = m.empno
GROUP BY m.empno
, m.ename
, m.mgr
;the results are:
` EMPNO ENAME MGR CHILDREN
7839 KING 3
7499 ALLEN 7698 0
7934 MILLER 7782 0
7369 SMITH 7902 0
7876 ADAMS 7788 0
7698 BLAKE 7839 5
7782 CLARK 7839 1
7566 JONES 7839 2
7654 MARTIN 7698 0
7900 JAMES 7698 0
7902 FORD 7566 1
7521 WARD 7698 0
7788 SCOTT 7566 1
7844 TURNER 7698 0KING is the ancestor (immediately or not) of all the 13 other rows, but the children value for KING is just 3, because only BLAKE, CLARK and JONES are immeditate children. Where is the mistake?
If the query I posted just happens to get the right results from scott.emp, but will not get the right results with other data, then post CREATE TABLE and INSERT statements for an example, and point out where it is wrong. -
How to avoid multiple top level navigation nodes ?
Dear portal experts,
If a user is assigned to multiple portal roles, which contain partially the same worksets, the user gets these worksets doubled in the top level navigation.
Can this be avoided ? The portal should check the user roles and show each workset only once.
Thanks,
JohannesHi,
you have to set Merge ID attribute to the worksets.
Regards,
Ladislav -
How to count number of child? child.getSize(); ??
Hi,
how to count to number of child node?
something like
child.getSize()Child is page or node ? Unfortunelty both Node and Page API returns Iterator and you have to loop through that to find number of childs. Other option is to use querymanager api and check size of resultset.
[1] http://dev.day.com/docs/en/cq/current/javadoc/com/day/cq/wcm/api/Page.html
[2] http://jackrabbit.apache.org/api/1.5/org/apache/jackrabbit/api/jsr283/Node.html
[3] http://www.day.com/maven/jsr170/javadocs/jcr-1.0/javax/jcr/query/package-summary.html
Yogesh -
How can iWeb hit counter be made to work with non-Apple server?
How can IWeb hit counter be made to work with non-Apple server?
This tutorial describes how to add an alternative counter to an iWeb page: iW05 - Adding a Graphical StatCounter as an HTML Snippet to an iWeb Page
OT -
Routing counter to PFI line/ not routing counter to any external port - How is it done?
Hi!
I am using a counter to create a sample clock for digital output. The counter looks just like the one in the example attached.
I now discovered that the counter frequency is routed to PFI12 of my NI6259. I don´t know why, I haven´t done this. I don´t want the counter at any external line because it causes interferences.
If it is not possible to route the counter to no port, how can I route it to another port? I did not find any answer in the knowledge base to that question.
Thanks for your help.
Best regards,
Yopp
Attachments:
corrDIO.vi 54 KBThanks for the replies!
I tried the signal routing, but it doesn´t work as I expected. I routed PFI12 to PFI 15. Now the signal is at both outputs. Even if the deactivate or delete the signal routing VI it stays that way.
If there is a possibility to route it and get rid of it at PFI2, I would choose one of the PXI trigger lines, as the are not in the screw terminal
I attached the signal routing example I made, could you have a look at it, maybe I did it wrong?
Attachments:
Routing signals.vi 8 KB -
How does the hit counter work?
hi
a while ago i made a web site with a hit counter on it
i wrote the hit counter using php and a flat text file to store the number of hits
i experienced a number of problems
1. if someone visited the site more than once, the hit counter would go up each time they visited. this is not really desired as i really only want to know how many unique hits i get
2. web bots and web crawlers would also make the counter go up
does the hit counter that iweb generates suffer from this problem?
how does it work - from total hits or only unique hits?
does anyone know it web crawlers effect the counter?
thanks!It is a hit counter and will register even when you visit the website.
I found this annoying, so I ditched the iWeb hit counter and went to Bravenet and downloaded a visit counter instead. You can customise your design and can have a visit counter instead of a hit counter and you can also set it to ignore your own hits - so if you want to visit your site to see how it looks it won't register your hit. The hit counter will register each time and for every page, whereas a visit counter will just register the visit to the first page and then thats it. If you use Bravenet it will give you stats too.
I am sure you can get hit counters and visit counters from lots of other sources though. -
I'm new to DOM and am trying to understand the node hierarchy structure. I have the following sample XML file.
To understand what constitutes a "Node", I count and print the child nodes that are within the "slideshow" node. The result I get is that there are 5 nodes and the node names are: #Text, slide, #Text, slide, #Text
Can anyone explain to me how--based on the xml file below, there are 5 nodes within the slideshow element?
<!-- A SAMPLE set of slides -->
<slideshow title="Sample Slide Show" date="Date of publication" author="Yours Truly">
<slide type="all">
<title>Wake up to WonderWidgets!</title>
</slide>
<slide type="all">
<title>Overview</title>
<item>Why
<em>WonderWidgets</em>
are great</item>
<item/>
<item>Who <em>buys</em> WonderWidgets</item>
</slide>
</slideshow>#Text nodes are Whitespace nodes.
Refer to http://java.sun.com/xml/jaxp/dist/1.1/docs/tutorial/dom/2b_display.html -
Please.... How do I access my iweb counter hits?
I've been surfing on and off for a year or so. looking to how to access the hits. I gave up and than tried to insert a html counter and of course that didnt work. For a user friendly program, this is one thing that I am missing. Please end my **** and tell me how to access my iweb counter hits. Thank you.
Are/were you not able to view the counter on your web page? Viewing the count on your web page is the only info that iWeb's counter can give you. If you intend on using iWeb after MMe has been shutdown the following may be of interest to you:
It is now known that iWeb, and iDVD, has been discontinued by Apple. This is evidenced by the fact that new Macs are shipping with iLife 11 installed but without iWeb and iDVD.
On June 30, 2012 MobileMe will be shutdown. However, iWeb will still continue to work but without the following:
Features No Longer Available Once MobileMe is Discontinued:
◼ Password protection
◼ Blog and photo comments
◼ Blog search
◼ Hit counter
◼ MobileMe Gallery
All of these features can be replaced with 3rd party options.
I found that if I published my site to a folder on my hard drive and then uploaded with a 3rd party FTP client subscriptions to slideshows and the RSS feed were broken. If I published directly from iWeb to the FPT server those two features continued to work correctly.
There's another problem and that's with iWeb's popup slideshows. Once the MMe servers are no longer online the popup slideshow buttons will not display their images.
Click to view full size
However, Roddy McKay and I have figured out a way to modify existing sites with those slideshows and iWeb itself so that those images will display as expected once MobileMe servers are gone. How to is described in this tutorial: #26 - How to Modify iWeb So Popup Slideshows Will Work After MobileMe is Discontinued.
It now appears that the iLife suite of applications offered on disc is now a discontinued product and the remaining supported iApps will only be available thru the App Store from now on. However, the iLife 11 boxed version that is still available at the online Apple Store (Store button at the top of the page) and those still on the shelves of retailers will include iWeb and iDVD. Those two apps were listed in small, gray text on the iLife 11 box that I bought.
Personally, if I didn't already have a copy I would purchase one to have it for reinstallation purposes if ever needed.
This may be of some interest to you: Life After MobileMe.
OT -
How to count number of xml nodes , with JSTL XML api?
I am trying to count the number of nodes in the parsed xml by doing this:
<x:out select="count($doc/Items/Item)"/>
There are about 50 item nodes in the source xml, but I get the output as 0
Is this syntax correct?
I searched every where but couldn't find the xpath syntax to be used inside jstl xml tags, I was assuming that it's the same as the syntax used in xsltThank you for your reply, sorry I wasnt very clear with my question.
I want to count the number of nodes inside the jsp file , not inside the xslt file.
My xml file is something like this for example:
<?xml version="1.0" encoding="UTF-8"?>
<DocumentRootNode>
<Products>
<Item>1</Item>
<Item>2</Item>
<Item>3</Item>
<Products>
</DocumentRootNode>
I want the count of number of Item nodes , in the JSP file.
I'm doing something like this in the JSP but it gives 0 instead of 3:
<c:import url="source.xml" var="xml" charEncoding="UTF-8"/>
<x:parse doc="${xml}" var="xml_doc"/>
<x:out select="count($xml_doc/Products/Item)"/>
null -
How do I use an external drive with iMovie 10.0.1? It is not obvious and I have run out of space.
If you want to move a complete iMovie 10 library (file with .imovielibrary extension) click on the library in the libraries pane and select File - Consolidate Library Media. This ensures that all media is copied to the library. You can then move the library onto your external drive using Finder. The first time to want to access it from iMovie you will have to tell it where it is by choosing File - Open Library -Other and navigating to it.
If you only want to transfer part of a library to another drive, create a new library a at the desired location File - Open Library - New and copy projects and events to it from within iMovie.
Its all described in iMovie help - "Work with multiple libraries".
Geoff. -
How can I load an external SWF into a movie clip that's inside other movie clip?
Hi.
I creating my first flash (actionscript 3.0) website but I'm
stuck with a visual effect I want to create.
I have a window on my website called contentWindow. Every
time you click a button this window is supposed to leave the stage,
load the requested content and return to the stage.
The sliding window is a movie clip with 83 frames, 21 to
enter the stage, 21 to leave the stage again, 20 for nothing (its
just to simulate the loading time) and 21 to return to the stage.
Now my goal is, when the user clicks on a navigation button,
the window exits the stage, loads an external SWF with the content,
and then returns to the stage.
I've the "window" movie clip with an instance name of
"contentWindow". Inside there is another movie clip with an
instance name of "contentLoader". The content that the user
requested should appear inside the "contentLoader".
Now, when the contentWindow leaves the stage, I get this
error message:
quote:
TypeError: Error #1009: Cannot access a property or method of
a null object reference.
at rwd_fla::MainTimeline/trigger()
If I switch
"contentWindow.contentLoader.addChild(navLoader);" for
"contentWindow.addChild(navLoader);" it works fine, but the
external SWF doesn't move with the window.
How can I load an external SWF into a movie clip that's
inside other movie clip?Hi,
Recently, I have been putting together a flash presentation.
And I am just wondering if the following might help you, in your
communication with the said swf file:
loader.contentLoaderInfo.addEventListener(Event.COMPLETE,
onComplete);
function onComplete(event:Event):void
event.target.content.thinggy_mc.y -= 100;
Not the best example, but this allows you to target a mc
within an external swf file. I think if you look up this code, you
will have an answer ;)
Kind Regards,
Boxing Boom -
How to count Sent SMS in E63 and other E series No...
Hi...
How to count Sent SMS in E63 and other E series Nokia phone
I tried some software but they are not made for E63 or else its need to purchase.
Expecting solution.In Menu-> log you can filter your messages for counting. You can export the log to e.g. Excel on PC with LogExport.
http://tinyhack.com/freewarelist/s603rd/2007/03/02/logexport/
‡Thank you for hitting the Blue/Green Star button‡
N8-00 RM 596 V:111.030.0609; E71-1(05) RM 346 V: 500.21.009 -
How to count no. of pages in tif file
Hi all,
how to count the no. of pages in tiff file?Well google could tell you.
The first hit on tif java pages gave me this link
[http://java.sun.com/products/java-media/jai/iio.html|http://java.sun.com/products/java-media/jai/iio.html]
On that page it has a desctiption of waht you want and even a link to a code sample..
HTH,
Lima -
How to count elements in a XMLTYPE of the same type?
Hi.
Imagine i have this inside a xmltype :
<world>Mercury</world>
<world>Venus</world>
<world>Earth</world>
<world>Mars</world>
Is there a way to query the xmltype (fast way) to return me 4 ?
Cheers!Hello Everyone,
I have similar XML code but with more nodes within the nodes.
<root>
<world>
<moons>A</moons>
<moons>B</moons>
<moons>C</moons>
</world>
<world></world>
<world>
<moons>A</moons>
</world>
<world>
<moons>A</moons>
<moons>B</moons>
</world>
</root>
I can find out number of worlds count, which in this case is 4.
My problem is how to count number of moons for each world. I don't want the total moon count which is 6.
I want counts for World1 - 3, World2 - 0, World3 - 1, World4 - 2.
I am trying to retrieve the individual count like this
SELECT column_value INTO World_count
FROM XMLTable('count (//world)' PASSING xmltype ('<root>
<world>
<moons>A</moons>
<moons>B</moons>
<moons>C</moons>
</world>
<world></world>
<world>
<moons>A</moons>
</world>
<world>
<moons>A</moons>
<moons>B</moons>
</world>
</root>');
DBMS_OUT ('World Count:' || World_count);
For i IN 1 .. World_count
loop
SELECT column_value INTO moon_count
FROM XMLTable('count (//world/moon)' PASSING xmltype ('<root>
<world>
<moons>A</moons>
<moons>B</moons>
<moons>C</moons>
</world>
<world></world>
<world>
<moons>A</moons>
</world>
<world>
<moons>A</moons>
<moons>B</moons>
</world>
</root>');
DBMS_OUT ('For World : ' || i );
DBMS_OUT ('Moon Count is :' || moon_count);
end loop;
But its not giving me the right answer. Is my approach to the problem correct or do I need to do something else.
Please advice
Edited by: [email protected] on Mar 17, 2009 2:19 PM
Edited by: [email protected] on Mar 17, 2009 2:22 PM
Maybe you are looking for
-
I am wondering if anyone has figured out how to print to do lists that only show unchecked (not yet completed) tasks. When I try it prints all of the tasks that fit on one page, and includes mostly completed to dos--thereby creating a useless list wh
-
Merging files and alert if file missing?
Hi experts. I have a situation when I will pickup 5 files from different systems. The files will be merged into one file and have no problems with that I can use append in the file adapter. But here coems the problem. The merged file will be sent to
-
Hi I keep getting the error message (photo library is either in use by another application or has become unreadable ) I've tried everything that has been suggested, I've even deleted Iphoto and reinstalled it ,but this doesn't work, I even reinstall
-
Can u tell me where I get a good material on ABAP-HR?
Hi Everybody, I am a fresher.I got my project on ABAP-HR.I don't know anything about it.plz tell me where can i get good material on ABAP-HR. thanks®ards saydulu.kolasani
-
How do i upload a single clip for premiere elements 7 to youtube
I have Premiere Elements 7 and have created a project/moive containing 10 clips. I want to upload the clips 'separately ' to Youtube. How do I do this.In other words i don't want to move the entrie movie to Youtube- it is far too big. Thanks.